{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/procurement/datasheet_field_definition.schema.json","title":"datasheet_field_definition","type":"object","properties":{"template_id":{"type":"string","x-pg-type":"text"},"field_id":{"type":"string","x-pg-type":"text"},"section_name":{"type":"string","x-pg-type":"text"},"label":{"type":"string","x-pg-type":"text"},"data_type":{"type":"string","x-pg-type":"text"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"enum_values":{"anyOf":[{},{"type":"null"}],"x-pg-type":"jsonb"},"required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"queryable":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"canonical_property_key":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"json_path":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"cfihos_property_code":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"eclass_property_id":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"source_standard":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["template_id","field_id","section_name","label","data_type"],"x-primary-key":["template_id","field_id"],"x-foreign-keys":[{"column":"template_id","references_table":"datasheet_template","references_column":"template_id","constraint":"datasheet_field_definition_template_id_fkey"}]}