Schema xfs-results.xsd


element results
diagram xfs-results_diagrams/xfs-results_p1.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
properties
content complex
children bp-filename received-date submission-detail
attributes
Name  Type  Use  Default  Fixed  Annotation
wcb:application-id  wcb:Text  required      
documentation
WCB Application ID Attribute
wcb:production-test-indicator  derived by: wcb:Text  required      
documentation
Indicates submission was for production use or testing only (values P or T)
wcb:bp-submission-id  derived by: wcb:Text  required      
documentation
Business Partner's Internal Submission ID Attribute
documentation
This is the business partner's identifier for the entire submission.
wcb:bp-submission-comment  derived by: wcb:Text  optional      
documentation
Business Partner's Comment Attribute
documentation
Optional comment for business partner's use.
annotation
documentation
Results of XML Form Submission (Root Element)

element results/bp-filename
diagram xfs-results_diagrams/xfs-results_p2.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
properties
content simple
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
Name of file we received from business partner

element results/received-date
diagram xfs-results_diagrams/xfs-results_p3.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Date
properties
content simple
annotation
documentation
Date WCB considers data to have been received

element results/submission-detail
diagram xfs-results_diagrams/xfs-results_p4.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
properties
content complex
children document
attributes
Name  Type  Use  Default  Fixed  Annotation
documents-received  wcb:NonNegativeInteger  required      
documentation
Total number of documents received.
documents-accepted  wcb:NonNegativeInteger  required      
documentation
Total number of documents accepted.
documents-partially-accepted  wcb:NonNegativeInteger  required      
documentation
Total number of documents accepted with errors/warnings.
documents-rejected  wcb:NonNegativeInteger  required      
documentation
Total number of documents rejected.
annotation
documentation
Submission passed initial integrity checks and was processed

attribute results/submission-detail/@documents-received
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:NonNegativeInteger
properties
use required
annotation
documentation
Total number of documents received.

attribute results/submission-detail/@documents-accepted
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:NonNegativeInteger
properties
use required
annotation
documentation
Total number of documents accepted.

attribute results/submission-detail/@documents-partially-accepted
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:NonNegativeInteger
properties
use required
annotation
documentation
Total number of documents accepted with errors/warnings.

attribute results/submission-detail/@documents-rejected
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:NonNegativeInteger
properties
use required
annotation
documentation
Total number of documents rejected.

element results/submission-detail/document
diagram xfs-results_diagrams/xfs-results_p5.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type extension of wcb:String
properties
minOcc 1
maxOcc unbounded
content complex
facets
Kind Value Annotation
pattern [ -~]*
attributes
Name  Type  Use  Default  Fixed  Annotation
status-code  derived by: wcb:Text  required      
documentation
Status of submitted document
documentation
'ACC ' means document accepted.  'PAC' mean document partially accepted (review error message to determine what (if any) part of document needs to be resubmitted).  'REJ' means document completely rejected (review error message for reason(s)).
wcb:form-id  derived by: wcb:Text  required      
documentation
Form ID Attribute
wcb:version-number  derived by: wcb:Text  required      
documentation
Version Number Attribute
wcb:bp-document-id  derived by: wcb:Text  required      
documentation
Business Partner's Internal Document ID Attribute
documentation
This is the business partner's 'serial number' for the document.
wcb:bp-document-comment  derived by: wcb:Text  optional      
documentation
Business Partner's Document Comment Attribute
documentation
Optional document comment for business partner's use.
annotation
documentation
Status of each submitted document

attribute results/submission-detail/document/@status-code
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
enumeration ACC
enumeration PAC
enumeration REJ
annotation
documentation
Status of submitted document
documentation
'ACC ' means document accepted.  'PAC' mean document partially accepted (review error message to determine what (if any) part of document needs to be resubmitted).  'REJ' means document completely rejected (review error message for reason(s)).

element attachment-binary
diagram xfs-results_diagrams/xfs-results_p6.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
properties
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
wcb:content-type  wcb:Text  required      
documentation
Conent Type (MIME Type) -- only 'image/tiff' is currently allowed
wcb:ref  wcb:Text  required      
documentation
A reference to the binary attachment.  This must be the filename only with no path or other prefix/suffix.
annotation
documentation
Document Attachment - Binary
documentation
This element is a placeholder which references a binary attachment which is to be inserted at the current point in the list of all attachments (binary and text).

attribute attachment-binary/@content-type
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
Conent Type (MIME Type) -- only 'image/tiff' is currently allowed

attribute attachment-binary/@ref
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
properties
use required
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
A reference to the binary attachment.  This must be the filename only with no path or other prefix/suffix.

element attachment-text
diagram xfs-results_diagrams/xfs-results_p7.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
properties
content complex
children wcb:page
annotation
documentation
Document Attachment - Text (Embedded)
documentation
This element contains text for one or more pages to be inserted at the current point in the list of all attachments (binary and text).
documentation
Each page can contain up to 56 lines with 100 characters each.  Note that the 'Courier 9' fixed-space font is used to create the viewable page.

element attachment-text/page
diagram xfs-results_diagrams/xfs-results_p8.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
properties
minOcc 1
maxOcc unbounded
content complex
children wcb:line
annotation
documentation
Contains contents of a single page

element attachment-text/page/line
diagram xfs-results_diagrams/xfs-results_p9.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:String
properties
minOcc 1
maxOcc 56
content simple
facets
Kind Value Annotation
minLength 0
maxLength 100
pattern [ -~]*
annotation
documentation
One line of text

complexType Flag
diagram xfs-results_diagrams/xfs-results_p10.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
attributes
Name  Type  Use  Default  Fixed  Annotation
wcb:value  derived by: wcb:String  required      
documentation
Value must be 'Y' or 'N'.
annotation
documentation
WCB Flag Type (Y/N)

attribute Flag/@value
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:String
properties
use required
facets
Kind Value Annotation
length 1
pattern [ -~]*
enumeration Y
enumeration N
annotation
documentation
Value must be 'Y' or 'N'.

complexType FlagUnknown
diagram xfs-results_diagrams/xfs-results_p11.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
attributes
Name  Type  Use  Default  Fixed  Annotation
wcb:value  derived by: wcb:String  required      
documentation
Value must be 'Y', 'N', or 'U'.
annotation
documentation
WCB Flag Type (Y/N/U)

attribute FlagUnknown/@value
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:String
properties
use required
facets
Kind Value Annotation
length 1
pattern [ -~]*
enumeration Y
enumeration N
enumeration U
annotation
documentation
Value must be 'Y', 'N', or 'U'.

complexType Gender
diagram xfs-results_diagrams/xfs-results_p12.png
namespace http://www.wcb.state.ny.us/xml/ns/wcb
attributes
Name  Type  Use  Default  Fixed  Annotation
wcb:value  derived by: wcb:String  required      
documentation
Value must be 'M' or 'F'.
annotation
documentation
WCB Gender Type (M/F)

attribute Gender/@value
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:String
properties
use required
facets
Kind Value Annotation
length 1
pattern [ -~]*
enumeration M
enumeration F
annotation
documentation
Value must be 'M' or 'F'.

simpleType Date
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:date
properties
base xs:date
used by
element results/received-date
annotation
documentation
WCB Date Type

simpleType Decimal
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:decimal
properties
base xs:decimal
annotation
documentation
WCB Decimal Type

simpleType NonNegativeInteger
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:nonNegativeInteger
properties
base xs:nonNegativeInteger
used by
attributes results/submission-detail/@documents-accepted results/submission-detail/@documents-partially-accepted results/submission-detail/@documents-received results/submission-detail/@documents-rejected
annotation
documentation
WCB NonNegativeInteger Type

simpleType NPINumber
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
pattern [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
annotation
documentation
National Provider Identifier Type

simpleType NYSLicenseNumber
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
pattern [0-9][0-9][0-9][0-9][0-9][0-9]
annotation
documentation
New York State License Number Type

simpleType SSN
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
pattern [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]
annotation
documentation
Social Security Number Type

simpleType String
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
used by
elements results/submission-detail/document attachment-text/page/line
simpleType Text
attributes Flag/@value Gender/@value FlagUnknown/@value
facets
Kind Value Annotation
pattern [ -~]*
annotation
documentation
WCB String Type

simpleType StringUpperCase
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
used by
simpleType TextUpperCase
facets
Kind Value Annotation
pattern [ -`{-~]*
annotation
documentation
WCB String Type

simpleType Text
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:String
properties
base wcb:String
used by
element results/bp-filename
attributes application-id bp-document-comment bp-document-id bp-submission-comment bp-submission-id form-id maintenance-type-code production-test-indicator source-code results/submission-detail/document/@status-code version-number attachment-binary/@content-type attachment-binary/@ref
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
WCB Text Type

simpleType TextUpperCase
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:StringUpperCase
properties
base wcb:StringUpperCase
facets
Kind Value Annotation
minLength 1
pattern [ -`{-~]*
annotation
documentation
WCB Text Type

simpleType Time
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:time
properties
base xs:time
annotation
documentation
WCB Time Type

simpleType WCBAuthorizationNumber
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of xs:string
properties
base xs:string
facets
Kind Value Annotation
pattern [0-9CPL][0-9][0-9][0-9][0-9][0-9]-[0-9][IBW]?
annotation
documentation
WCB Authorization Number

attribute application-id
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
used by
element results
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
WCB Application ID Attribute

attribute bp-document-comment
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results/submission-detail/document
facets
Kind Value Annotation
minLength 1
maxLength 60
pattern [ -~]*
annotation
documentation
Business Partner's Document Comment Attribute
documentation
Optional document comment for business partner's use.

attribute bp-document-id
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results/submission-detail/document
facets
Kind Value Annotation
minLength 1
maxLength 30
pattern [ -~]*
annotation
documentation
Business Partner's Internal Document ID Attribute
documentation
This is the business partner's 'serial number' for the document.

attribute bp-submission-comment
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results
facets
Kind Value Annotation
minLength 1
maxLength 60
pattern [ -~]*
annotation
documentation
Business Partner's Submission Comment Attribute
documentation
Optional submission comment for business partner's use.

attribute bp-submission-id
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results
facets
Kind Value Annotation
minLength 1
maxLength 30
pattern [ -~]*
annotation
documentation
Business Partner's Internal Submission ID Attribute
documentation
This is the business partner's identifier for the entire submission.

attribute form-id
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results/submission-detail/document
facets
Kind Value Annotation
minLength 1
maxLength 10
pattern [ -~]*
annotation
documentation
Form ID Attribute
documentation
WCB form identifier.

attribute maintenance-type-code
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
properties
fixed 050
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
Maintenance Type Code (ANSI)
documentation
Value is fixed at '050' which is the ANSI code for 'original form'.

attribute production-test-indicator
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
enumeration P
enumeration T
annotation
documentation
Indicates submission was for production use or testing only (values P or T)

attribute source-code
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
properties
fixed X
facets
Kind Value Annotation
minLength 1
pattern [ -~]*
annotation
documentation
Source Code Attribute
documentation
Value is fixed at 'X' for XML Forms Submission.

attribute version-number
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of wcb:Text
used by
element results/submission-detail/document
facets
Kind Value Annotation
minLength 1
maxLength 6
pattern [ -~]*
annotation
documentation
Version Number Attribute
documentation
WCB form version number (a date in YYMM format).


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy