Skip to main content

BIN 7lHWs Documentation

  • Author:

  • Version: 2

  • Description: attack-pattern - Root-Complex-Type created converting the root definition of Jsonschema at http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json

  • Created: 2025-01-29

  • Modified: 2025-01-29

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='RootJsonSchemaType'
    		description='attack-pattern - Root-Complex-Type created converting the root definition of Jsonschema at http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#'
    		extra:path='#' extra:json.check-type='true' extra:root='true'>
    		<implements type='AllOf' />
    	</complexType>
    	<complexType name='AllOf'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/allOf'
    		extra:path='#/allOf' extra:json.check-type='true'>
    		<implements type='Core' />
    		<implements type='AllOf_AllOf1' />
    	</complexType>
    	<complexType name='AllOf_AllOf1'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/allOf/allOf1'
    		extra:path='#/allOf/allOf1' extra:json.check-type='false'>
    		<!-- 3. Use type [AllOf_AllOf1_Properties_Type] for [type] property -->
    		<field name='type'
    			description='The type of this object, which MUST be the literal `attack-pattern`. - Created from JsonschemaTypes[{explicit} string]'
    			type='AllOf_AllOf1_Properties_Type' minOccurs='0'
    			extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/allOf/allOf1/properties/type'
    			extra:ctrl.emptyisnull='true' extra:path='#/allOf/allOf1/properties/type'
    			extra:form.maybenull='true' extra:json.check-type='true'>
    			<facet name='enumeration' value='attack-pattern' />
    		</field>
    	</complexType>
    	<complexType name='Core'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/definitions/core'
    		extra:path='#/definitions/core' extra:json.check-type='true'>
    		<!-- 2. Use type [Core_Properties_Type] for [type] property -->
    		<!--  5 optionally use [Core_Properties_Type] as type of field instead of xs:string   -->
    		<field name='type'
    			description='The type property identifies the type of STIX Object (SDO, Relationship Object, etc). The value of the type field MUST be one of the types defined by a STIX Object (e.g., indicator). - Created from JsonschemaTypes[{explicit} string]'
    			type='Core_Properties_Type' minOccurs='0'
    			extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/definitions/core/properties/type'
    			extra:ctrl.emptyisnull='true' extra:path='#/definitions/core/properties/type'
    			extra:form.maybenull='true' extra:json.check-type='true'>
    			<!--  4. Remove facets from field so can be overridden;
    				same facets are now in [Core_Properties_Type]  -->
    			<!-- 
    			<facet name='pattern' value='([a-z][a-z0-9]*)+(-[a-z0-9]+)*\-?' />
    			<facet name='maxLength' value='250' />
    			<facet name='minLength' value='3' />
    			 -->
    		</field>
    	</complexType>
    	
    	<simpleType name='Core_Properties_Type'
    		description='The type property identifies the type of STIX Object (SDO, Relationship Object, etc). The value of the type field MUST be one of the types defined by a STIX Object (e.g., indicator). - Created from JsonschemaTypes[{explicit} string]'
    		type='xs:string'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/definitions/core/properties/type'
    		extra:path='#/definitions/core/properties/type' extra:json.check-type='true'>
    		<facet name='pattern' value='([a-z][a-z0-9]*)+(-[a-z0-9]+)*\-?' />
    		<facet name='maxLength' value='250' />
    		<facet name='minLength' value='3' />
    	</simpleType>
    	<!-- 1. put type [Core_Properties_Type] as base type of [AllOf_AllOf1_Properties_Type] -->
    	<simpleType name='AllOf_AllOf1_Properties_Type'
    		description='The type of this object, which MUST be the literal `attack-pattern`. - Created from JsonschemaTypes[{explicit} string]'
    		type='Core_Properties_Type'
    		extra:jsonPointer='http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/sdos/attack-pattern.json#/allOf/allOf1/properties/type'
    		extra:path='#/allOf/allOf1/properties/type' extra:json.check-type='true'>
    		<facet name='enumeration' value='attack-pattern' />
    	</simpleType>