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
application-idrequired      
documentation
WCB Application ID Attribute
production-test-indicatorrequired      
documentation
Indicates submission was for production use or testing only (values P or T)
bp-submission-idrequired      
documentation
Business Partner's Internal Submission ID Attribute
documentation
This is the business partner's identifier for the entire submission.
bp-submission-commentoptional      
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
isRef 0
content simple
facets
Kind Value annotation 
minLength 
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
isRef 0
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
isRef 0
content complex
children document
attributes
Name  Type  Use  Default  Fixed  annotation
documents-receivedwcb:NonNegativeIntegerrequired      
documentation
Total number of documents received.
documents-acceptedwcb:NonNegativeIntegerrequired      
documentation
Total number of documents accepted.
documents-partially-acceptedwcb:NonNegativeIntegerrequired      
documentation
Total number of documents accepted with errors/warnings.
documents-rejectedwcb:NonNegativeIntegerrequired      
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
isRef 0
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
isRef 0
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
isRef 0
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
isRef 0
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
isRef 0
minOcc 1
maxOcc unbounded
content complex
facets
Kind Value annotation 
pattern [ -~]* 
attributes
Name  Type  Use  Default  Fixed  annotation
status-codederived by: wcb:Textrequired      
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)).
form-idrequired      
documentation
Form ID Attribute
version-numberrequired      
documentation
Version Number Attribute
bp-document-idrequired      
documentation
Business Partner's Internal Document ID Attribute
documentation
This is the business partner's 'serial number' for the document.
bp-document-commentoptional      
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
isRef 0
use required
facets
Kind Value annotation 
minLength 
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)).

attribute application-id
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type wcb:Text
facets
Kind Value annotation 
minLength 
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
facets
Kind Value annotation 
minLength 
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
facets
Kind Value annotation 
minLength 
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
facets
Kind Value annotation 
minLength 
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
facets
Kind Value annotation 
minLength 
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
facets
Kind Value annotation 
minLength 
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 
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
facets
Kind Value annotation 
minLength 
pattern [ -~]* 
enumeration 
enumeration 
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 
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
facets
Kind Value annotation 
minLength 
maxLength 
pattern [ -~]* 
annotation
documentation
Version Number Attribute
documentation
WCB form version number (a date in YYMM format).

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-typewcb:Textrequired      
documentation
Conent Type (MIME Type) -- only 'image/tiff' is currently allowed
wcb:refwcb:Textrequired      
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
isRef 0
use required
facets
Kind Value annotation 
minLength 
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
isRef 0
use required
facets
Kind Value annotation 
minLength 
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
isRef 0
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
isRef 0
minOcc 1
maxOcc 56
content simple
facets
Kind Value annotation 
minLength 
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:valuederived by: wcb:Stringrequired      
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
isRef 0
use required
facets
Kind Value annotation 
length 
pattern [ -~]* 
enumeration 
enumeration 
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:valuederived by: wcb:Stringrequired      
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
isRef 0
use required
facets
Kind Value annotation 
length 
pattern [ -~]* 
enumeration 
enumeration 
enumeration 
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:valuederived by: wcb:Stringrequired      
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
isRef 0
use required
facets
Kind Value annotation 
length 
pattern [ -~]* 
enumeration 
enumeration 
annotation
documentation
Value must be 'M' or 'F'.

simpleType Date
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:date
annotation
documentation
WCB Date Type

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

simpleType NonNegativeInteger
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type xs:nonNegativeInteger
annotation
documentation
WCB NonNegativeInteger Type

simpleType NPINumber
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of 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
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
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
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
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
facets
Kind Value annotation 
minLength 
pattern [ -~]* 
annotation
documentation
WCB Text Type

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

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

simpleType WCBAuthorizationNumber
namespace http://www.wcb.state.ny.us/xml/ns/wcb
type restriction of 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


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