Files
libopenapi/datamodel/low/base/constants.go
2023-04-18 05:22:49 -04:00

55 lines
2.0 KiB
Go

// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
// SPDX-License-Identifier: MIT
package base
// Constants for labels used to look up values within OpenAPI specifications.
const (
VersionLabel = "version"
TermsOfServiceLabel = "termsOfService"
DescriptionLabel = "description"
TitleLabel = "title"
EmailLabel = "email"
NameLabel = "name"
URLLabel = "url"
TagsLabel = "tags"
ExternalDocsLabel = "externalDocs"
ExamplesLabel = "examples"
ExampleLabel = "example"
ValueLabel = "value"
InfoLabel = "info"
ContactLabel = "contact"
LicenseLabel = "license"
PropertiesLabel = "properties"
DependentSchemasLabel = "dependentSchemas"
PatternPropertiesLabel = "patternProperties"
IfLabel = "if"
ElseLabel = "else"
ThenLabel = "then"
PropertyNamesLabel = "propertyNames"
UnevaluatedItemsLabel = "unevaluatedItems"
UnevaluatedPropertiesLabel = "unevaluatedProperties"
AdditionalPropertiesLabel = "additionalProperties"
XMLLabel = "xml"
ItemsLabel = "items"
PrefixItemsLabel = "prefixItems"
ContainsLabel = "contains"
AllOfLabel = "allOf"
AnyOfLabel = "anyOf"
OneOfLabel = "oneOf"
NotLabel = "not"
TypeLabel = "type"
DiscriminatorLabel = "discriminator"
ExclusiveMinimumLabel = "exclusiveMinimum"
ExclusiveMaximumLabel = "exclusiveMaximum"
SchemaLabel = "schema"
SchemaTypeLabel = "$schema"
AnchorLabel = "$anchor"
)
/*
PropertyNames low.NodeReference[*SchemaProxy]
UnevaluatedItems low.NodeReference[*SchemaProxy]
UnevaluatedProperties low.NodeReference[*SchemaProxy]
*/