Datacenter build and management service
https://github.com/joyent/conch-api/blob/master/lib/Conch/DB/Result/JSONSchema.pm
json_schema
data_type: 'uuid'
default_value: gen_random_uuid()
is_nullable: 0
size: 16
data_type: 'text'
is_nullable: 0
data_type: 'text'
is_nullable: 0
data_type: 'integer'
is_nullable: 0
data_type: 'jsonb'
is_nullable: 0
data_type: 'timestamp with time zone'
default_value: current_timestamp
is_nullable: 0
original: {default_value => \"now()"}
data_type: 'uuid'
is_foreign_key: 1
is_nullable: 0
size: 16
data_type: 'timestamp with time zone'
is_nullable: 1
json_schema_type_name_version_key
Type: belongs_to
Related object: Conch::DB::Result::UserAccount
Type: has_many
Related object: Conch::DB::Result::HardwareProductJSONSchema
Type: has_many
Related object: Conch::DB::Result::ValidationResult
Include information about the JSON Schema’s creation user, or user who added the JSON Schema to
hardware (when fetched from a hardware_product
context).
The canonical path to this resource.
Returns the actual JSON Schema document itself, suitable for returning to a client or adding to a JSON::Schema::Draft201909 object.
Takes an optional coderef, which takes the result object and returns the value to be used for
the $id
property (otherwise, “canonical_path” will be used).
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.