Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (38 sloc) 1.21 KB
.. index:: Create_new_schema

Create new schema for 06*****

Schema fields table.

static/tutorial/fields_table.png

For schema with pattern 06***** we need fields:
  • region
  • district
  • cadastral_number
  • area
  • forms_of_land_ownership
  • co_owners
  • availability_of_utilities

Create template using SchemaOnline. Paste fields, and generate template for schema.

static/tutorial/06_fields.png

Edit template

Template which we got on previous step

Now we can add validation, description, and default value for every field.

We got such a scheme.

Add ID

Pattern for schema is 06******, so ID must look like urn:cav:06******-*.***

Create schema for 061****

Schema fields table.

static/tutorial/fields_table.png

We can see that 061***** template has 1 additional field.

Copy previous schema, edit fields, add one more, and edit ID.

Updated schema: