Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Generate Schema File

Having defined a schema profile and added the necessary elements and restrictions, you can quickly and easily generate the schema(s). XML schema generation is available in all technologies, but each technology might support additional formats.

Access NIEM

To generate a schema from the NIEM model subset, click on the <<ModelPackageDescription>> element and select 'Extensions | NIEM | Generate NIEM Schema'.

All other frameworks

'Tools | Schema Composer: Generate'.

Schema Formats

Select the checkbox against each schema format to export.

Schema Format

Details

CIM

  • XML Schema (XSD)
  • Resource Description Framework Schema (RDFS)
  • Resource Description Framework Schema - Augmented (RDFS)
  • Javascript Object Notation (JSON)
  • Execute Custom Script

UBL 2.1

  • XML Schema (XSD)
  • Execute Custom Script

Generic

  • XML Schema (XSD)
  • Resource Description Framework Schema (RDFS)
  • Javascript Object Notation (JSON)
  • Execute Custom Script

Execute Custom Script

Although the Schema Composer can generate schema for a number of recognized standards, it also features a scripting solution for those users who want control over the format and medium of the schema. When you specify a script to the generator, it is referring to a language script such as Javascript that has exists in your model. How and what the script produces is pretty much up to you. How the script accesses the schema in the Schema Composer is documented in the Scripting integration topic.

UN/CEFACT NDR 3.0

  • XML Schema (XSD)
  • Execute Custom Script

UN/CEFACT NDR 2.1

  • XML Schema (XSD)
  • Execute Custom Script

Generate

Click on this button to generate the schema.

Use a file browser to locate and open the schema files.

Notes

  • The Schema Composer is supported in the Corporate, Systems Engineering, Business and Software Engineering and Ultimate editions of Enterprise Architect
  • You can edit and validate XML documents including XSD schema, using Enterprise Architect
  • You can set Enterprise Architect as the default document handler for XML documents

Learn more