{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://puranwater.com/schemas/postgres/procurement/datasheet_value_index.schema.json","title":"datasheet_value_index","type":"object","properties":{"datasheet_id":{"type":"string","format":"uuid","x-pg-type":"uuid"},"template_id":{"type":"string","x-pg-type":"text"},"field_id":{"type":"string","x-pg-type":"text"},"canonical_property_key":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"value_text":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"},"value_numeric":{"anyOf":[{"type":"number"},{"type":"null"}],"x-pg-type":"numeric"},"value_boolean":{"anyOf":[{"type":"boolean"},{"type":"null"}],"x-pg-type":"bool"},"normalized_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"x-pg-type":"text"}},"x-table-schema":"public","required":["datasheet_id","template_id","field_id"],"x-primary-key":["datasheet_id","field_id"],"x-foreign-keys":[{"column":"datasheet_id","references_table":"process_datasheet","references_column":"datasheet_id","constraint":"datasheet_value_index_datasheet_id_fkey"}]}