openapi: 3.0.3
info:
  version: "1"
  title: Catalog
  description: >
    The Catalog API allows for the discovery, creation, and integration of metadata. This allows management of information about other information.
  termsOfService: https://www.sas.com/en_us/legal/copyright.html
  contact:
    name: SAS Developers
    email: devex@sas.com
    url: https://developer.sas.com
servers:
  - url: http://example.com/catalog
    description: The SAS Information Catalog server.
tags:
  - name: Root
    description: The API root.
  - name: Search
    description: Searching for instances.
  - name: Instances
    description: Lifecycle management for Instances.
  - name: Type Definitions
    description: Definitions used to describe instance data within the Catalog.
  - name: Search Indices
    description: Search Index lifecycle management.
  - name: Views
    description: View definition lifecycle management.
  - name: Agents
    description: Agent lifecycle management.
  - name: Tags
    description: Tag lifecycle management.
  - name: Deletions
    description: Bulk deletion of objects.
paths:
  /:
    head:
      operationId: headersForRoot
      summary: Get the headers for top-level resource links
      description: >
        Returns the headers for a list of top-level resource links provided by the Catalog API.  This can also be used to verify that the service is available.
      tags:
        - Root
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.api+json
              - application/json
            default: application/vnd.sas.api+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: root
      summary: Get top-level resource links
      description: Returns a list of top-level resource links provided by the Catalog API.
      tags:
        - Root
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.api+json
              - application/json
            default: application/vnd.sas.api+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              description: The media type of the response body.
              schema:
                type: string
          content:
            application/vnd.sas.api+json:
              schema:
                $ref: "#/components/schemas/rootApi"
              examples:
                API:
                  $ref: "#/paths/~1/get/responses/200/content/application~1json/examples/API"
            application/json:
              schema:
                $ref: "#/components/schemas/rootApi"
              examples:
                API:
                  summary: Root API response
                  description: The root response consists of a collection of links that can be used to navigate the Catalog service API.
                  value:
                    version: 1
                    links:
                      - method: GET
                        rel: instances
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: POST
                        rel: createInstances
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.metadata.instance.archive
                        responseType: application/vnd.sas.metadata.instance.archive
                      - method: POST
                        rel: deleteSelection
                        href: /catalog/deletions
                        uri: /catalog/deletions
                        type: application/vnd.sas.selection
                        responseType: application/json
                      - method: GET
                        rel: definitions
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                      - method: POST
                        rel: createDefinitions
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.archive
                        responseType: application/vnd.sas.metadata.definition.archive
                      - method: POST
                        rel: createAttributeType
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.attribute
                        responseType: application/vnd.sas.metadata.definition.attribute
                      - method: POST
                        rel: createClassificationType
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.classification
                        responseType: application/vnd.sas.metadata.definition.classification
                      - method: POST
                        rel: createEntityType
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.entity
                        responseType: application/vnd.sas.metadata.definition.entity
                      - method: POST
                        rel: createRelationshipType
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.relationship
                        responseType: application/vnd.sas.metadata.definition.relationship
                      - method: GET
                        rel: search
                        href: /catalog/search
                        uri: /catalog/search
                        responseType: application/vnd.sas.metadata.search.collection
                        responseItemType: application/vnd.sas.metadata.search.result
                      - method: GET
                        rel: searchIndices
                        href: /catalog/search/indices
                        uri: /catalog/search/indices
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.search.index
                      - method: POST
                        rel: createSearchIndex
                        href: /catalog/search/indices
                        uri: /catalog/search/indices
                        type: application/vnd.sas.metadata.definition.search.index
                        responseType: application/vnd.sas.metadata.definition.search.index
                      - method: GET
                        rel: statistics
                        href: /catalog/statistics
                        uri: /catalog/statistics
                        type: application/vnd.sas.metadata.catalog.statistics
                      - method: GET
                        rel: bots
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
                      - method: POST
                        rel: createBot
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.metadata.bot
                        responseType: application/vnd.sas.metadata.bot
                      - method: GET
                        rel: adhocAnalysisJobs
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: POST
                        rel: createAdhocAnalysisJob
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.metadata.bot.adhoc
                        responseType: application/vnd.sas.metadata.bot.adhoc
                      - method: GET
                        rel: views
                        href: /catalog/views
                        uri: /catalog/views
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.view
                      - method: POST
                        rel: createView
                        href: /catalog/views
                        uri: /catalog/views
                        type: application/vnd.sas.metadata.definition.view
                        responseType: application/vnd.sas.metadata.definition.view
                      - method: GET
                        rel: tags
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: POST
                        rel: createTag
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
        "401":
          description: Not authenticated.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Not Found:
                  summary: Error - Unauthorized
                  description: Unauthorized. This request requires valid authentication.
                  value:
                    version: 2
                    httpStatusCode: 401
                    message: Full authentication is required to access this resource
        "404":
          description: The Catalog service is not available.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Service Unavailable:
                  summary: Error - Service Unavailable
                  description: The service is unavailable.
                  value:
                    version: 2
                    httpStatusCode: 404
                    message: Not Found
                    details: The service is unavailable.
        "406":
          description: Not Acceptable. Include an Accept header with a supported value on the request.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Not Acceptable:
                  summary: Error - Not Acceptable
                  description: The header field "Accept" does not have a supported value.
                  value:
                    version: 2
                    httpStatusCode: 406
                    message: Not Acceptable Error
  /search:
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getSearchResults
      summary: Get Search Results
      description: >
        Search for instances by name, potentially specifying wildcards ('*' for 0 or more characters, '?' for a single character).

        Search can return data from multiple indices each of which can contain different types of objects.
      tags:
        - Search
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - name: q
          required: true
          description: A pattern to use when matching the name of an instance.
          in: query
          schema:
            type: string
        - name: index
          required: false
          description: The index or indices to search. If multiple indices are specified, the index names must be separated with commas. This field is deprecated - please use indices instead.
          in: query
          schema:
            type: array
            items:
              type: string
            default: catalog
          style: form
          explode: false
          deprecated: true
        - name: indices
          required: false
          description: The index or indices to search. If multiple indices are specified, the index names must be separated with commas.
          in: query
          schema:
            type: array
            items:
              type: string
            default: catalog
          style: form
          explode: false
        - name: timezone
          description: >
            The timezone of the query being searched. Timezones must be denoted by their TZ database names found in the IANA Timezone Database or their UTC offsets. Note: This query parameter is deprecated and timezone or time offset can be specified in the search query itself. If a timezone or time offset is included both via this parameter and in the search query then the value from the search query will be used.
          in: query
          required: false
          schema:
            type: string
            default: Etc/UTC
        - name: Accept
          in: header
          description: The desired representation for the response.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.search.collection+json
              - application/json
            default: application/vnd.sas.metadata.search.collection+json
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.search.result+json
              - application/json
            default: application/vnd.sas.metadata.search.result+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.search.collection+json:
              schema:
                $ref: "#/components/schemas/searchResultCollection"
              examples:
                Search Result Collection:
                  $ref: "#/paths/~1search/get/responses/200/content/application~1json/examples/Search%20Result%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/searchResultCollection"
              examples:
                Search Result Collection:
                  summary: Search Result Collection
                  description: Results for a search on 'BASEBALL' that returns a single result.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.search.result
                    count: 1
                    start: 0
                    limit: 10
                    name: catalogSearchResults
                    items:
                      - id: 0904b463-2366-2d4d-a43b-07578af2e9e8
                        version: 1
                        name: BASEBALL
                        type: sasTable
                        typeLabel: SAS Table
                        owner: sas
                        created: 2021-08-06T16:33:30.749Z
                        modified: 2021-08-06T16:33:30.749Z
                        score: 20.119299
                        attributes:
                          analysisTimeStamp: 2021-09-13T14:20:44.899Z
                          columnCount: 24
                          completenessPercent: 98.473084886
                          dataSize: 196608
                          extension: sas7bdat
                          library: SASHELP
                          region: ""
                          reviewStatus: none
                          rowCount: 322
                          sourceSystem: SAS
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/0904b463-2366-2d4d-a43b-07578af2e9e8
                            uri: /catalog/instances/0904b463-2366-2d4d-a43b-07578af2e9e8
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/BASEBALL
                            uri: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/BASEBALL
                            type: application/json
                    links:
                      - method: GET
                        rel: collection
                        href: /catalog/search
                        uri: /catalog/search
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.search.result
                      - method: GET
                        rel: self
                        href: /catalog/search?start=0&limit=10
                        uri: /catalog/search?start=0&limit=10
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.search.result
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                    maxScore: 20.119299
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "502":
          description: "Bad Gateway: The catalog service was unable to interact with the search engine. More details may be available in the error object."
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Search Engine Unavailable:
                  summary: Search Engine Unavailable
                  description: The search engine is unavailable.
                  value:
                    version: 2
                    httpStatusCode: 502
                    message: Bad Gateway
  /search/facets:
    get:
      operationId: getSearchFacets
      summary: Get Search Facets
      description: Get a collection of search facets.
      tags:
        - Search
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - name: q
          required: true
          description: A pattern that matches any part of a facet name; values are case-insensitive.
          in: query
          schema:
            type: string
        - $ref: "#/paths/~1search/get/parameters/3"
        - $ref: "#/paths/~1search/get/parameters/4"
        - name: includeHidden
          description: A boolean value that indicates that hidden facets should be returned in the results.
          in: query
          schema:
            type: boolean
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.search.facet+json
              - application/json
            default: application/vnd.sas.metadata.definition.search.facet+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.search.collection+json:
              schema:
                $ref: "#/components/schemas/searchFacetCollection"
              examples:
                Search Result Collection:
                  $ref: "#/paths/~1search~1facets/get/responses/200/content/application~1json/examples/Search%20Result%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/searchFacetCollection"
              examples:
                Search Result Collection:
                  summary: Facet Collection
                  description: Results for a facets that start with 'A'.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.definition.search.facet
                    count: 2
                    start: 0
                    limit: 10
                    name: catalogSearchFacets
                    items:
                      - version: 1
                        name: AssetLabel
                        indices:
                          - dataflows
                          - datasets
                          - dataplans
                          - models
                          - modelprojects
                          - modelstudioprojects
                          - reports
                          - rulesets
                          - referencedatadomains
                          - codefiles
                          - decisions
                          - riskdataprojects
                          - riskmodels
                        type: text
                      - version: 1
                        name: AssetName
                        indices:
                          - dataflows
                          - datasets
                          - dataplans
                          - models
                          - modelprojects
                          - modelstudioprojects
                          - reports
                          - rulesets
                          - referencedatadomains
                          - codefiles
                          - decisions
                          - riskdataprojects
                          - riskmodels
                        type: text
                    links:
                      - method: GET
                        rel: collection
                        href: /catalog/search/facets
                        uri: /catalog/search/facets
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.search.facet
                      - method: GET
                        rel: self
                        href: /catalog/search/facets?start=0&limit=10
                        uri: /catalog/search/facets?start=0&limit=10
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.search.facet
                      - method: GET
                        rel: up
                        href: /catalog/search
                        uri: /catalog/search
                        type: application/vnd.sas.metadata.search.collection
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "502":
          $ref: "#/paths/~1search/get/responses/502"
  /search/suggestions:
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getSearchSuggestions
      summary: Retrieve suggested values for searches on a given field
      description: >
        Get search suggestions for a given field in one or more of the indices provided. Suggestions are only available for fields with a keyword representation or both a text and keyword representation. Any other representations are not supported, and an error will be returned.

        The suggested values will be unique, and the most common values in the given field in the indices provided.

        Optionally a parameter q can be provided that acts as a prefix requirement for the values.

        This endpoint does not support the usual start parameter; pagination is not supported. The limit parameter serves to restrict the number of suggestions that are returned.
      tags:
        - Search
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/1"
        - name: q
          description: A prefix to search values of the given field.
          in: query
          schema:
            type: string
        - name: field
          description: >
            A pattern to use when matching the field name of a suggestion.

            The field is required to have a keyword representation, otherwise no suggestions will be returned. This parameter is deprecated - please use facet instead.
          in: query
          required: true
          schema:
            type: string
          deprecated: true
        - name: facet
          description: >
            A pattern to use when matching the facet name of a suggestion.

            The facet is required to have a keyword representation, otherwise no suggestions will be returned.
          in: query
          required: true
          schema:
            type: string
        - $ref: "#/paths/~1search/get/parameters/3"
        - $ref: "#/paths/~1search/get/parameters/4"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - text/plain
            default: text/plain
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/suggestionCollection"
              examples:
                Search Suggestion Collection:
                  $ref: "#/paths/~1search~1suggestions/get/responses/200/content/application~1json/examples/Search%20Result%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/suggestionCollection"
              examples:
                Search Result Collection:
                  summary: Search Suggestions Collection
                  description: Results for a suggestions on the field 'Status'.
                  value:
                    version: 2
                    accept: text/plain
                    start: 0
                    limit: 10
                    name: suggestions
                    items:
                      - none
                      - approved
                      - review
                      - flagged
                      - warning
                      - other
                    links:
                      - method: GET
                        rel: collection
                        href: /catalog/search/suggestions
                        uri: /catalog/search/suggestions
                        type: application/vnd.sas.collection
                        itemType: text/plain
                      - method: GET
                        rel: self
                        href: /catalog/search/suggestions?start=0&limit=10
                        uri: /catalog/search/suggestions?start=0&limit=10
                        type: application/vnd.sas.collection
                        itemType: text/plain
                      - method: GET
                        rel: up
                        href: /catalog/search
                        uri: /catalog/search
                        type: application/vnd.sas.metadata.search.collection
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "502":
          $ref: "#/paths/~1search/get/responses/502"
  /search/favorites:
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getFavorites
      summary: Get Search Results for a list of URIs
      description: >
        Return a Search Result for every URI in the input, or an error for any object that cannot be resolved in the search indices. Additionally can search service URIs in the vnd.sas.selection request body. When a folder URI is recognized in the selection, the catalog service enumerates the contents of the folder, and uses these URIs as the input in addition to the folder URI in the selection. Results are provided as a map of URIs to either a search result, or a corresponding error for that URI. Folder URIs will not be included but the URIs of all its members will. If none of the requested URIs are found, the overall response will be a 404. This operation does not support the "id" or "mixed" types of application/vnd.sas.selection; URIs matching the resourceId field of entities in the catalog must be provided.
      tags:
        - Search
      parameters:
        - $ref: "#/paths/~1search/get/parameters/3"
        - $ref: "#/paths/~1search/get/parameters/4"
        - $ref: "#/paths/~1search/get/parameters/2"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.selection+json
              - application/json
            default: application/vnd.sas.selection+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/json
            default: application/json
      requestBody:
        content:
          application/vnd.sas.selection+json:
            schema:
              $ref: "#/paths/~1deletions/post/requestBody/content/application~1vnd.sas.selection%2Bjson/schema"
            examples:
              Bulk State:
                summary: Favorites request
                description: Return search result data for a list of resources that may be in the catalog.
                value:
                  version: 1
                  resources:
                    - /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP
                    - /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: "#/components/schemas/searchResult"
              examples:
                Favorites result:
                  summary: Favorites response
                  description: Results for a favorites request.
                  value:
                    /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP:
                      id: 35bfef3c-f3ca-a449-8944-11517f598f27
                      version: 1
                      name: AACOMP
                      type: sasTable
                      owner: sas
                      created: 2021-08-06T15:53:14.378Z
                      modified: 2021-08-06T15:53:14.378Z
                      score: 1
                      attributes:
                        analysisTimeStamp: 2021-09-13T14:20:44.899Z
                        columnCount: 4
                        completenessPercent: 100
                        dataSize: 458752
                        extension: sas7bdat
                        library: SASHELP
                        region: ""
                        reviewStatus: none
                        rowCount: 2020
                        sourceSystem: SAS
                      links:
                        - method: GET
                          rel: self
                          href: /catalog/instances/35bfef3c-f3ca-a449-8944-11517f598f27
                          uri: /catalog/instances/35bfef3c-f3ca-a449-8944-11517f598f27
                          type: application/vnd.sas.metadata.instance.entity
                        - method: GET
                          rel: resource
                          href: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP
                          uri: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AACOMP
                          type: application/json
                    /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM:
                      id: 561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f
                      version: 1
                      name: AARFM
                      type: sasTable
                      owner: sas
                      created: 2021-08-06T15:55:07.398Z
                      modified: 2021-08-06T15:55:07.398Z
                      score: 1
                      attributes:
                        analysisTimeStamp: 2021-09-13T14:20:44.899Z
                        columnCount: 4
                        completenessPercent: 100
                        dataSize: 262144
                        extension: sas7bdat
                        library: SASHELP
                        region: ""
                        reviewStatus: none
                        rowCount: 130
                        sourceSystem: SAS
                      links:
                        - method: GET
                          rel: self
                          href: /catalog/instances/561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f
                          uri: /catalog/instances/561d8fe0-d7a9-8f4e-aed8-89f4ccf3577f
                          type: application/vnd.sas.metadata.instance.entity
                        - method: GET
                          rel: resource
                          href: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM
                          uri: /dataTables/dataSources/Compute~fs~c006f500-c10f-4db2-81c9-258f20b4d711~fs~SASHELP/tables/AARFM
                          type: application/json
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
        "502":
          $ref: "#/paths/~1search/get/responses/502"
  /statistics:
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getCatalogStatistics
      summary: Get Catalog Service statistics
      description: >
        Return information about the contents of the catalog, such as:
          * the defined search indices,
          * how many documents are in each index, and possibly
          * a message about needing to rebuild the index if it has fallen out of sync.
      tags:
        - Instances
      parameters:
        - name: Accept
          in: header
          description: The desired item representation.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.catalog.statistics+json
              - application/json
            default: application/vnd.sas.metadata.catalog.statistics+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.catalog.statistics+json:
              schema:
                $ref: "#/components/schemas/catalogStatistics"
              examples:
                Catalog Statistics:
                  $ref: "#/paths/~1statistics/get/responses/200/content/application~1json/examples/Catalog%20Statistics"
            application/json:
              schema:
                $ref: "#/components/schemas/catalogStatistics"
              examples:
                Catalog Statistics:
                  summary: Catalog Statistics
                  description: A collection of metrics about the contents of the Catalog service.
                  value:
                    version: 1
                    searchIndexStats:
                      dataflows:
                        id: ad8f2ca4-55fa-4e87-a05e-2e6e7a3cd020
                        nDocuments: 1
                      datasets:
                        id: f2351f74-09cb-4fc2-96df-6131946c354b
                        nDocuments: 180
                        breakdown:
                          field: sourceSystem
                          values:
                            cas: 90
                            sas: 90
                    links:
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /instances:
    get:
      operationId: getInstances
      summary: Get a list of Instances
      description: >
        Returns a list of instances.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * description,
          * type,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy,
          * modifiedTimeStamp,
          * definition,
          * resourceId,
          * endpoint1Id, and
          * endpoint2Id
      tags:
        - Instances
      parameters:
        - name: includeRelLinks
          in: query
          description: >
            Control generation of HATEOAS links for relationships for an entity.

            This parameter only applies to representations of type application/vnd.sas.metadata.instance.entity+json; when set to true, the type definition for the entity is interrogated for relationship types that reference that type definition, and the endpoints of those relationships are exposed via a HATEOAS link in the entity's links array.
          required: false
          schema:
            type: boolean
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance+json
              - application/vnd.sas.summary+json
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
            default: application/vnd.sas.metadata.instance+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/instanceCollection"
              examples:
                Instance Collection:
                  $ref: "#/paths/~1instances/get/responses/200/content/application~1json/examples/Instance%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/instanceCollection"
              examples:
                Instance Collection:
                  summary: Instance Collection Response
                  description: A collection of instances.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.instance.entity
                    count: 105
                    start: 0
                    limit: 2
                    name: instances
                    items:
                      - creationTimeStamp: 2021-10-01T14:05:27.219Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-10-01T14:05:27.219Z
                        modifiedBy: sasuser
                        id: b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PUT
                            rel: update
                            href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf/history
                            uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
                            uri: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasTable
                        name: AACOMP
                        type: sasTable
                        attributes:
                          analysisTimeStamp: 2021-10-01T14:05:24.247Z
                          columnCount: 4
                          completenessPercent: 100
                          creator: sas
                          dataLocale: ENUSA
                          dataSize: 458752
                          dateCreated: 2021-09-28T08:03:09.972Z
                          dateModified: 2021-09-28T08:03:09.972Z
                          encoding: us-ascii  ASCII (ANSI)
                          extension: sas7bdat
                          informationPrivacy: private
                          isView: false
                          reviewStatus: none
                          rowCount: 2020
                          runStatus: new
                          sourceSystem: SAS
                        resourceId: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
                      - creationTimeStamp: 2021-10-01T14:05:28.432Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-10-01T14:05:28.432Z
                        modifiedBy: sasuser
                        id: 91411bc6-a921-e443-80f0-c89c9c9216e6
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            uri: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            uri: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PUT
                            rel: update
                            href: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            uri: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                            uri: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6/history
                            uri: /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AARFM
                            uri: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AARFM
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasTable
                        name: AARFM
                        type: sasTable
                        attributes:
                          analysisTimeStamp: 2021-10-01T14:05:24.247Z
                          columnCount: 4
                          completenessPercent: 100
                          creator: sas
                          dataLocale: ENUSA
                          dataSize: 262144
                          dateCreated: 2021-09-28T08:04:02.220Z
                          dateModified: 2021-09-28T08:04:02.220Z
                          encoding: us-ascii  ASCII (ANSI)
                          extension: sas7bdat
                          informationPrivacy: private
                          isView: false
                          reviewStatus: none
                          rowCount: 130
                          runStatus: new
                          sourceSystem: SAS
                        resourceId: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AARFM
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances?start=0&limit=2&sortBy=name
                        uri: /catalog/instances?start=0&limit=2&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: collection
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: up
                        href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                        uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                        type: application/vnd.sas.metadata.definition.entity
                      - method: GET
                        rel: next
                        href: /catalog/instances?limit=2&sortBy=name&start=2
                        uri: /catalog/instances?limit=2&sortBy=name&start=2
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: POST
                        rel: create
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.metadata.instance.entity
                        responseType: application/vnd.sas.metadata.instance.entity
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: createInstance
      summary: Create an Instance
      description: Create an Instance from the given content.
      tags:
        - Instances
      parameters:
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
        - name: Accept
          description: The desired representation for the response. The default is application/vnd.sas.metadata.instance+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance+json
              - application/vnd.sas.summary+json
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
            default: application/vnd.sas.metadata.instance+json
      requestBody:
        content:
          application/vnd.sas.metadata.instance.entity+json:
            schema:
              $ref: "#/components/schemas/entity"
            examples:
              Entity Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Entity%20Instance"
          application/vnd.sas.metadata.instance.classification+json:
            schema:
              $ref: "#/components/schemas/classification"
            examples:
              Classification Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Classification%20Instance"
          application/vnd.sas.metadata.instance.relationship+json:
            schema:
              $ref: "#/components/schemas/relationship"
            examples:
              Relationship Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Relationship%20Instance"
          application/json:
            schema:
              anyOf:
                - $ref: "#/components/schemas/entity"
                - $ref: "#/components/schemas/classification"
                - $ref: "#/components/schemas/relationship"
            examples:
              Entity Instance:
                summary: Entity Instance Request
                description: Create an instance of a SASTable entity.
                value:
                  version: 1
                  instanceType: entity
                  definition: sasTable
                  name: AACOMP
                  attributes:
                    analysisTimeStamp: 2021-10-01T14:05:24.247Z
                    columnCount: 4
                    completenessPercent: 100
                    creator: sas
                    dataLocale: ENUSA
                    dataSize: 458752
                    dateCreated: 2021-09-28T08:03:09.972Z
                    dateModified: 2021-09-28T08:03:09.972Z
                    encoding: us-ascii  ASCII (ANSI)
                    extension: sas7bdat
                    informationPrivacy: private
                    isView: false
                    reviewStatus: none
                    rowCount: 2020
                    runStatus: new
                    sourceSystem: SAS
                  resourceId: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
              Classification Instance:
                summary: Classification Instance Request
                description: Create an instance of a classification for the Retention classification type.
                value:
                  version: 1
                  instanceType: classification
                  definition: retention
                  name: ageRetention
                  parentId: a212a0ca-55e0-40c8-81aa-cd12faf71eca
                  attributes:
                    basis: TimeBoxedLifetime
              Relationship Instance:
                summary: Relationship Instance Request
                description: Create an instance of a relationship between a dataSet and a dataField.
                value:
                  version: 1
                  instanceType: relationship
                  definition: dataSetDataFields
                  endpoint1Id: 97b53d09-d895-1944-8ded-a91e33417840
                  endpoint2Id: 7183e7b6-4464-fc4c-bc75-ccd7fd58065e
      responses:
        "201":
          description: Created. The instance has been created.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            ETag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.instance+json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
            application/vnd.sas.summary+json:
              schema:
                title: Resource Summary
                type: object
                description: The summarized representation of a resource. Often used in collection responses when more specific details aren't needed.
                x-sas-media-type:
                  name: application/vnd.sas.summary
                  version: 2
                required:
                  - id
                  - links
                  - version
                properties:
                  id:
                    type: string
                    description: The unique identifier for the resource.
                  name:
                    type: string
                    description: The name of the resource.
                  type:
                    type: string
                    description: The type of the resource.
                  description:
                    type: string
                    description: The description of the resource.
                  typeDefName:
                    type: string
                    description: (version 2) The name of the type definition that describes the contents of this resource.
                  iconUri:
                    type: string
                    description: (version 2) The URI of an icon assigned to this resource, overrides default icons for the type.
                  createdBy:
                    type: string
                    description: The user who created the resource.
                  creationTimeStamp:
                    type: string
                    format: date-time
                    description: The timestamp in YYYY-MM-DDThh:mm:ss.sssZ format when the resource was created.
                  modifiedBy:
                    type: string
                    description: The user who most recently modified the resource.
                  modifiedTimeStamp:
                    type: string
                    format: date-time
                    description: The timestamp in YYYY-MM-DDThh:mm:ss.sssZ format when the resource was last modified.
                  links:
                    type: array
                    description: The links that apply to the resource.
                    items:
                      $ref: "#/components/schemas/tag/properties/links/items"
                  version:
                    type: integer
                    description: The version number of the resource. This representation is version 2.
              examples:
                Instance:
                  summary: Instance Summary Response
                  description: An instance rendered as an application/vnd.sas.summary representation.
                  value:
                    creationTimeStamp: 2021-10-01T14:05:27.219Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-10-01T14:05:27.219Z
                    modifiedBy: sasuser
                    version: 2
                    id: b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                    name: AACOMP
                    type: sasTable
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: alternate
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.summary
                      - method: GET
                        rel: up
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: PUT
                        rel: update
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                        responseType: application/vnd.sas.metadata.instance.entity
                      - method: DELETE
                        rel: delete
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
            application/vnd.sas.metadata.instance.entity+json:
              schema:
                $ref: "#/components/schemas/entity"
              examples:
                Entity Instance:
                  summary: Entity Instance Response
                  description: An entity instance.
                  value:
                    creationTimeStamp: 2021-10-01T14:05:27.219Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-10-01T14:05:27.219Z
                    modifiedBy: sasuser
                    id: b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: alternate
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.summary
                      - method: GET
                        rel: up
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: PUT
                        rel: update
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                        responseType: application/vnd.sas.metadata.instance.entity
                      - method: DELETE
                        rel: delete
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                      - method: GET
                        rel: definition
                        href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                        uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                        type: application/vnd.sas.metadata.definition.entity
                      - method: GET
                        rel: history
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf/history
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: resource
                        href: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
                        uri: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
                        type: application/json
                    version: 1
                    instanceType: entity
                    definition: sasTable
                    name: AACOMP
                    type: sasTable
                    attributes:
                      analysisTimeStamp: 2021-10-01T14:05:24.247Z
                      columnCount: 4
                      completenessPercent: 100
                      creator: sas
                      dataLocale: ENUSA
                      dataSize: 458752
                      dateCreated: 2021-09-28T08:03:09.972Z
                      dateModified: 2021-09-28T08:03:09.972Z
                      encoding: us-ascii  ASCII (ANSI)
                      extension: sas7bdat
                      informationPrivacy: private
                      isView: false
                      reviewStatus: none
                      rowCount: 2020
                      runStatus: new
                      sourceSystem: SAS
                    resourceId: /dataTables/dataSources/Compute~fs~77191529-3947-401d-a883-0cc6055ecc8e~fs~SASHELP/tables/AACOMP
            application/vnd.sas.metadata.instance.classification+json:
              schema:
                $ref: "#/components/schemas/classification"
              examples:
                Classification Instance:
                  summary: Classification Instance Response
                  description: A classification instance.
                  value:
                    creationTimeStamp: 2021-10-01T14:37:04.096Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-10-01T14:37:04.096Z
                    modifiedBy: sasuser
                    id: 24170585-570a-4725-b8f6-3bfb83b9f489
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        type: application/vnd.sas.metadata.instance.classification
                      - method: GET
                        rel: alternate
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        type: application/vnd.sas.summary
                      - method: GET
                        rel: up
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: PUT
                        rel: update
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        type: application/vnd.sas.metadata.instance.classification
                        responseType: application/vnd.sas.metadata.instance.classification
                      - method: DELETE
                        rel: delete
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489
                      - method: GET
                        rel: definition
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.classification
                      - method: POST
                        rel: createAssociations
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489/entities
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489/entities
                        type: application/vnd.sas.collection
                        responseType: application/vnd.sas.collection
                        itemType: text/plain
                        responseItemType: application/vnd.sas.metadata.instance.entity.endpoint
                      - method: GET
                        rel: getAssociations
                        href: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489/entities
                        uri: /catalog/instances/24170585-570a-4725-b8f6-3bfb83b9f489/entities
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity.endpoint
                    version: 1
                    instanceType: classification
                    definition: retention
                    name: ageRetention
                    parentId: a212a0ca-55e0-40c8-81aa-cd12faf71eca
                    type: retention
                    attributes:
                      basis: TimeBoxedLifetime
            application/vnd.sas.metadata.instance.relationship+json:
              schema:
                $ref: "#/components/schemas/relationship"
              examples:
                Relationship Instance:
                  summary: Relationship Instance Response
                  description: An relationship instance.
                  value:
                    creationTimeStamp: 2021-10-01T12:27:13.765Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-10-01T12:27:13.765Z
                    modifiedBy: sasuer
                    id: ea32507e-06d0-449d-8659-8cb1026b473d
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        uri: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        type: application/vnd.sas.metadata.instance.relationship
                      - method: GET
                        rel: alternate
                        href: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        uri: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        type: application/vnd.sas.summary
                      - method: GET
                        rel: up
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: PUT
                        rel: update
                        href: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        uri: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        type: application/vnd.sas.metadata.instance.relationship
                        responseType: application/vnd.sas.metadata.instance.relationship
                      - method: DELETE
                        rel: delete
                        href: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                        uri: /catalog/instances/ea32507e-06d0-449d-8659-8cb1026b473d
                      - method: GET
                        rel: endpoint1
                        href: /catalog/instances/97b53d09-d895-1944-8ded-a91e33417840
                        uri: /catalog/instances/97b53d09-d895-1944-8ded-a91e33417840
                        type: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: endpoint2
                        href: /catalog/instances/7183e7b6-4464-fc4c-bc75-ccd7fd58065e
                        uri: /catalog/instances/7183e7b6-4464-fc4c-bc75-ccd7fd58065e
                        type: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: definition
                        href: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                        uri: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                        type: application/vnd.sas.metadata.definition.relationship
                    version: 1
                    instanceType: relationship
                    definition: dataSetDataFields
                    type: dataSetDataFields
                    endpoint1Id: 97b53d09-d895-1944-8ded-a91e33417840
                    endpoint1Uri: /catalog/instances/97b53d09-d895-1944-8ded-a91e33417840
                    endpoint2Id: 7183e7b6-4464-fc4c-bc75-ccd7fd58065e
                    endpoint2Uri: /catalog/instances/7183e7b6-4464-fc4c-bc75-ccd7fd58065e
            application/json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance Summary:
                  summary: Instance Response
                  description: An instance; the instanceType field can be used to determine if it's an entity, relationship, or classification.
                  value:
                    creationTimeStamp: 2021-10-01T14:05:27.219Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-10-01T14:05:27.219Z
                    modifiedBy: sasuser
                    id: b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: alternate
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.summary
                      - method: GET
                        rel: up
                        href: /catalog/instances
                        uri: /catalog/instances
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance
                      - method: PUT
                        rel: update
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        type: application/vnd.sas.metadata.instance.entity
                        responseType: application/vnd.sas.metadata.instance.entity
                      - method: DELETE
                        rel: delete
                        href: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        uri: /catalog/instances/b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                    version: 1
                    instanceType: entity
                    definition: sasTable
                    name: AACOMP
                    type: sasTable
                    attributes:
                      analysisTimeStamp: 2021-10-01T14:05:24.247Z
                      columnCount: 4
                      completenessPercent: 100
                      creator: sas
                      dataLocale: ENUSA
                      dataSize: 458752
                      dateCreated: 2021-09-28T08:03:09.972Z
                      dateModified: 2021-09-28T08:03:09.972Z
                      encoding: us-ascii  ASCII (ANSI)
                      extension: sas7bdat
                      informationPrivacy: private
                      isView: false
                      reviewStatus: none
                      rowCount: 2020
                      runStatus: new
                      sourceSystem: SAS
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  /instances#archive:
    post:
      operationId: createOrUpdateInstanceArchive
      summary: Create or update objects from an archive
      description: Create objects from the given content. Note that because this endpoint processes several kinds of operations, the application/json Content-Type header is not supported.
      tags:
        - Instances
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.instance.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.archive+json
        - name: onConflict
          description: >
            Specifies how to handle objects in the body that already exist:
             * ignore: Default value, objects with ids that already exist are not updated and a 409 Conflict error is returned for each one.
             * update: Objects with ids that already exist are updated.
             * lookup: the same as "update", except for entities that contain non-existent ids and relationships using those ids as endpoints.
               A non-existent id in an entity will be treated as a placeholder id;
               if a unique entity exists for that definition/resourceId pair, that entity will be updated using the existing id and any relationship endpoints in this archive using the placeholder id will be changed to that existing id instead
               , and the response body will have the existing id instead of the placeholder id for that entity.
               If multiple entities exist for a definition/resourceId pair, no replacement will occur and a 409 Conflict error will be returned for that object.
          in: query
          schema:
            type: string
            enum:
              - lookup
              - update
              - ignore
            default: ignore
        - name: If-Unmodified-Since
          description: >
            The time after which any objects updated by this call cannot have been updated; a 412 (Precondition Failed) error will be returned for each object that has been modified after this time.

            The value must use the RFC 1123 time format (e.g. Fri, 01 Jan 1960 00:00:00 GMT); if an invalid value is specified, a 400 (Bad Request) error will be returned for each object that already exists.

            This value is required if the call wil update any existing objects, and ignored if the call will only create new objects; if this value is omitted, a 428 (Precondition Required) error will be returned for each object that already exists.
          in: header
          schema:
            type: string
        - name: transactional
          description: >
            Specifies how to handle errors that may occur in processing the instance archive. If true the entire request will fail if any error occurs while processing the instances within the request archive. No changes as part of the request will be persisted on failure. If false, then the service will do its best effort to process the instances within the request archive even when there are errors processing some instances. Defaults to false.
          in: query
          schema:
            type: boolean
      requestBody:
        content:
          application/vnd.sas.metadata.instance.archive+json:
            schema:
              $ref: "#/components/schemas/instanceArchive"
            examples:
              Instance Archive:
                summary: Instance Archive Request
                description: Create objects from an archive.
                value:
                  version: 1
                  entities:
                    - id: 761a6943-429a-4fb7-ac55-24f58a90f354
                      version: 1
                      instanceType: entity
                      definition: sasTable
                      name: AIR
                      label: "airline data (monthly: JAN49-DEC60)"
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        columnCount: 2
                        completenessPercent: 100
                        creator: sas
                        dataLocale: ENUSA
                        dataSize: 131072
                        dateCreated: 2023-02-27T18:47:09.335Z
                        dateFieldCount: 1
                        dateModified: 2023-02-27T18:47:09.335Z
                        encoding: us-ascii  ASCII (ANSI)
                        extension: sas7bdat
                        isView: false
                        maxTimeStamp: 1960-12-01T00:00:00.000Z
                        minTimeStamp: 1949-01-01T00:00:00.000Z
                        observationFrequency: monthly
                        observationFrequencyField: DATE
                        reviewStatus: none
                        rowCount: 144
                        runId: 2daf8dad-1110-471a-8ae1-61dd3b66e65b
                        runStatus: new
                        sourceSystem: SAS
                      resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR
                    - id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                      version: 1
                      instanceType: entity
                      definition: sasColumn
                      name: DATE
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        bestChartType: box
                        cardinalityCount: 144
                        completenessPercent: 100
                        dataType: num
                        hasOutliers: false
                        hasUniqueField: true
                        kurtosis: -1.199992455
                        leastCommonValue: -3744
                        max: 335
                        mean: -1841.791667
                        median: -1841.5
                        min: -4017
                        missingCount: 0
                        mostCommonValue: 31
                        nOutliers: 0
                        ordinalPosition: 1
                        quantiles25: -2937.5
                        quantiles50: -1841.5
                        quantiles75: -745.5
                        rawLength: 8
                        sasDataType: num
                        sasFormat: MONYY.
                        sasFormatFull: MONYY.
                        skewness: 0.0000576197
                        standardDeviation: 1269.6488523
                        statisticalScale: id
                        uniquenessPercent: 100
                      resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/DATE
                    - id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                      version: 1
                      instanceType: entity
                      definition: sasColumn
                      name: AIR
                      label: international airline travel (thousands)
                      description: international airline travel (thousands)
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        bestChartType: box
                        cardinalityCount: 118
                        completenessPercent: 100
                        dataType: num
                        hasOutliers: false
                        hasUniqueField: false
                        kurtosis: -0.364941862
                        leastCommonValue: 136
                        max: 622
                        mean: 280.29861111
                        median: 265.5
                        min: 104
                        missingCount: 0
                        mode: 229
                        mostCommonValue: 472
                        nOutliers: 0
                        ordinalPosition: 2
                        quantiles25: 180
                        quantiles50: 265.5
                        quantiles75: 361
                        rawLength: 8
                        sasDataType: num
                        skewness: 0.5831604862
                        standardDeviation: 119.96631694
                        statisticalScale: interval
                        uniquenessPercent: 81.944444444
                      resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/AIR
                    - id: 2929ff23-410c-4c50-b99d-aeb66443c6be
                      version: 1
                      instanceType: entity
                      definition: valueCountCollection
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        values:
                          - characterValue: null
                            count: 1
                            numericValue: -3897
                            rank: 2
                          - characterValue: null
                            count: 1
                            numericValue: -3713
                            rank: 3
                          - characterValue: null
                            count: 1
                            numericValue: -3593
                            rank: 11
                          - characterValue: null
                            count: 1
                            numericValue: -3683
                            rank: 4
                          - characterValue: null
                            count: 1
                            numericValue: -3866
                            rank: 5
                          - characterValue: null
                            count: 1
                            numericValue: -3958
                            rank: 6
                          - characterValue: null
                            count: 1
                            numericValue: -3652
                            rank: 7
                          - characterValue: null
                            count: 1
                            numericValue: -3744
                            rank: 1
                          - characterValue: null
                            count: 1
                            numericValue: -3440
                            rank: 8
                          - characterValue: null
                            count: 1
                            numericValue: -3621
                            rank: 9
                          - characterValue: null
                            count: 1
                            numericValue: -3836
                            rank: 10
                          - characterValue: null
                            count: 1
                            numericValue: -3562
                            rank: 12
                          - characterValue: null
                            count: 1
                            numericValue: -3805
                            rank: 14
                          - characterValue: null
                            count: 1
                            numericValue: -3927
                            rank: 13
                          - characterValue: null
                            count: 1
                            numericValue: -3986
                            rank: 15
                          - characterValue: null
                            count: 1
                            numericValue: -4017
                            rank: 16
                          - characterValue: null
                            count: 1
                            numericValue: -3532
                            rank: 17
                          - characterValue: null
                            count: 1
                            numericValue: -3774
                            rank: 19
                          - characterValue: null
                            count: 1
                            numericValue: -3501
                            rank: 18
                          - characterValue: null
                            count: 1
                            numericValue: -3471
                            rank: 20
                      resourceId: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                    - id: 6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                      version: 1
                      instanceType: entity
                      definition: valueCountCollection
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        values:
                          - characterValue: null
                            count: 1
                            numericValue: -122
                            rank: 2
                          - characterValue: null
                            count: 1
                            numericValue: 60
                            rank: 3
                          - characterValue: null
                            count: 1
                            numericValue: 182
                            rank: 11
                          - characterValue: null
                            count: 1
                            numericValue: 91
                            rank: 4
                          - characterValue: null
                            count: 1
                            numericValue: -92
                            rank: 5
                          - characterValue: null
                            count: 1
                            numericValue: -184
                            rank: 6
                          - characterValue: null
                            count: 1
                            numericValue: 121
                            rank: 7
                          - characterValue: null
                            count: 1
                            numericValue: 31
                            rank: 1
                          - characterValue: null
                            count: 1
                            numericValue: 335
                            rank: 8
                          - characterValue: null
                            count: 1
                            numericValue: 152
                            rank: 9
                          - characterValue: null
                            count: 1
                            numericValue: -61
                            rank: 10
                          - characterValue: null
                            count: 1
                            numericValue: 213
                            rank: 12
                          - characterValue: null
                            count: 1
                            numericValue: -31
                            rank: 14
                          - characterValue: null
                            count: 1
                            numericValue: -153
                            rank: 13
                          - characterValue: null
                            count: 1
                            numericValue: -214
                            rank: 15
                          - characterValue: null
                            count: 1
                            numericValue: -245
                            rank: 16
                          - characterValue: null
                            count: 1
                            numericValue: 244
                            rank: 17
                          - characterValue: null
                            count: 1
                            numericValue: 0
                            rank: 19
                          - characterValue: null
                            count: 1
                            numericValue: 274
                            rank: 18
                          - characterValue: null
                            count: 1
                            numericValue: 305
                            rank: 20
                      resourceId: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                    - id: 31e2706d-1274-44ac-84b4-87d48c9cdf3b
                      version: 1
                      instanceType: entity
                      definition: valueCountCollection
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        values:
                          - characterValue: null
                            count: 1
                            numericValue: 104
                            rank: 17
                          - characterValue: null
                            count: 1
                            numericValue: 114
                            rank: 16
                          - characterValue: null
                            count: 1
                            numericValue: 125
                            rank: 3
                          - characterValue: null
                            count: 1
                            numericValue: 136
                            rank: 1
                          - characterValue: null
                            count: 1
                            numericValue: 126
                            rank: 10
                          - characterValue: null
                            count: 1
                            numericValue: 119
                            rank: 12
                          - characterValue: null
                            count: 1
                            numericValue: 141
                            rank: 14
                          - characterValue: null
                            count: 2
                            numericValue: 118
                            rank: 20
                          - characterValue: null
                            count: 2
                            numericValue: 135
                            rank: 19
                          - characterValue: null
                            count: 1
                            numericValue: 133
                            rank: 2
                          - characterValue: null
                            count: 1
                            numericValue: 145
                            rank: 9
                          - characterValue: null
                            count: 1
                            numericValue: 140
                            rank: 7
                          - characterValue: null
                            count: 1
                            numericValue: 146
                            rank: 4
                          - characterValue: null
                            count: 1
                            numericValue: 129
                            rank: 13
                          - characterValue: null
                            count: 1
                            numericValue: 112
                            rank: 15
                          - characterValue: null
                            count: 2
                            numericValue: 148
                            rank: 18
                          - characterValue: null
                            count: 1
                            numericValue: 149
                            rank: 11
                          - characterValue: null
                            count: 1
                            numericValue: 132
                            rank: 8
                          - characterValue: null
                            count: 1
                            numericValue: 121
                            rank: 6
                          - characterValue: null
                            count: 1
                            numericValue: 115
                            rank: 5
                      resourceId: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                    - id: 01f95f5e-0be9-4de7-b936-cc1feb5630da
                      version: 1
                      instanceType: entity
                      definition: valueCountCollection
                      attributes:
                        analysisTimeStamp: 2023-03-27T13:58:13.76Z
                        values:
                          - characterValue: null
                            count: 1
                            numericValue: 417
                            rank: 17
                          - characterValue: null
                            count: 1
                            numericValue: 535
                            rank: 16
                          - characterValue: null
                            count: 1
                            numericValue: 505
                            rank: 3
                          - characterValue: null
                            count: 2
                            numericValue: 472
                            rank: 1
                          - characterValue: null
                            count: 1
                            numericValue: 467
                            rank: 10
                          - characterValue: null
                            count: 1
                            numericValue: 463
                            rank: 12
                          - characterValue: null
                            count: 1
                            numericValue: 432
                            rank: 14
                          - characterValue: null
                            count: 1
                            numericValue: 413
                            rank: 20
                          - characterValue: null
                            count: 1
                            numericValue: 422
                            rank: 19
                          - characterValue: null
                            count: 2
                            numericValue: 461
                            rank: 2
                          - characterValue: null
                            count: 1
                            numericValue: 508
                            rank: 9
                          - characterValue: null
                            count: 1
                            numericValue: 435
                            rank: 7
                          - characterValue: null
                            count: 1
                            numericValue: 606
                            rank: 4
                          - characterValue: null
                            count: 1
                            numericValue: 622
                            rank: 13
                          - characterValue: null
                            count: 1
                            numericValue: 465
                            rank: 15
                          - characterValue: null
                            count: 1
                            numericValue: 419
                            rank: 18
                          - characterValue: null
                            count: 1
                            numericValue: 548
                            rank: 11
                          - characterValue: null
                            count: 1
                            numericValue: 491
                            rank: 8
                          - characterValue: null
                            count: 1
                            numericValue: 420
                            rank: 6
                          - characterValue: null
                            count: 1
                            numericValue: 559
                            rank: 5
                      resourceId: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                  relationships:
                    - id: 26567402-b6fc-456b-b43c-b110ea4d0f74
                      version: 1
                      instanceType: relationship
                      definition: dataSetDataFields
                      endpoint1Id: 761a6943-429a-4fb7-ac55-24f58a90f354
                      endpoint2Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                    - id: e941af17-7f83-4507-9382-0424c202f306
                      version: 1
                      instanceType: relationship
                      definition: topNCollectionsForDataField
                      endpoint1Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                      endpoint2Id: 01f95f5e-0be9-4de7-b936-cc1feb5630da
                    - id: caebacca-916f-4b08-bb1e-f6ab2f807a4f
                      version: 1
                      instanceType: relationship
                      definition: topNCollectionsForDataField
                      endpoint1Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                      endpoint2Id: 6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                    - id: bd139edc-1d62-42e2-b44d-7a78fd164448
                      version: 1
                      instanceType: relationship
                      definition: bottomNCollectionsForDataField
                      endpoint1Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                      endpoint2Id: 2929ff23-410c-4c50-b99d-aeb66443c6be
                    - id: 6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                      version: 1
                      instanceType: relationship
                      definition: bottomNCollectionsForDataField
                      endpoint1Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                      endpoint2Id: 31e2706d-1274-44ac-84b4-87d48c9cdf3b
                    - id: 55419c19-5cfe-4314-b6e7-72a93447e8a0
                      version: 1
                      instanceType: relationship
                      definition: dataSetDataFields
                      endpoint1Id: 761a6943-429a-4fb7-ac55-24f58a90f354
                      endpoint2Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                    - id: d7751d02-58af-470a-9955-14c30475d340
                      version: 1
                      instanceType: relationship
                      definition: dataStoreDataSets
                      endpoint1Id: 2036edd2-1761-4f6a-b3a9-cd6445f022df
                      endpoint2Id: 761a6943-429a-4fb7-ac55-24f58a90f354
      responses:
        "200":
          description: >
            The request succeeded, and the content contained no objects or at least one object was created or updated successfully.  If at least one operation succeeded, errors for individual objects are returned in the response body and do not result in an error status for the whole response.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.instance.archive+json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                Instance Archive:
                  $ref: "#/paths/~1instances%23view/post/responses/200/content/application~1json/examples/Instance%20Archive"
            application/json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                Instance Archive:
                  $ref: "#/paths/~1instances%23view/post/responses/200/content/application~1json/examples/Instance%20Archive"
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "412":
          $ref: "#/paths/~1tags/patch/responses/412"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
  /instances#view:
    post:
      operationId: queryArchive
      summary: Get an archive of objects based on a view
      description: Get an archive of objects based on a view. Note that because this endpoint processes several kinds of operations, the application/json Content-Type header is not supported.
      tags:
        - Instances
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.instance.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.archive+json
              - application/json
      requestBody:
        content:
          application/vnd.sas.metadata.instance.query+json:
            schema:
              $ref: "#/components/schemas/instanceArchiveParameters"
            examples:
              Query parameters:
                summary: Query parameters with an included query
                description: >
                  Return an instance archive based on an existing view.

                  The specified view finds a dataset (labeled 't') with a specific ID that is identified in the parameters map. From that table, the view traverses the dataSetDataFields relationship to find dataFields that are related to the table.

                  The return clause in the query indicates that the table, the columns, and the relationships between them are to be included in the archive returned by the query.
                value:
                  version: 1
                  query: match (t:dataset)-[r:dataSetDataFields]->(c:dataField) return t,r,c
                  parameters:
                    t:
                      id: 5f30466f-b406-4eaf-a944-23281716006c
      responses:
        "200":
          description: >
            The request succeeded. The archive may be empty, based on the query and the contents of the catalog service.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.instance.archive+json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                Instance Archive:
                  $ref: "#/paths/~1instances%23view/post/responses/200/content/application~1json/examples/Instance%20Archive"
            application/json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                Instance Archive:
                  summary: Instance Archive Response
                  description: An archive response containing updated representations of the objects in the request.
                  value:
                    version: 1
                    entities:
                      - creationTimeStamp: 2023-03-27T13:58:15.238Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.238Z
                        modifiedBy: sasuser
                        id: 761a6943-429a-4fb7-ac55-24f58a90f354
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/updates/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354/history
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR
                            uri: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasTable
                        name: AIR
                        label: "airline data (monthly: JAN49-DEC60)"
                        type: sasTable
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          columnCount: 2
                          completenessPercent: 100
                          creator: sas
                          dataLocale: ENUSA
                          dataSize: 131072
                          dateCreated: 2023-02-27T18:47:09.335Z
                          dateFieldCount: 1
                          dateModified: 2023-02-27T18:47:09.335Z
                          encoding: us-ascii  ASCII (ANSI)
                          extension: sas7bdat
                          isView: false
                          maxTimeStamp: 1960-12-01T00:00:00.000Z
                          minTimeStamp: 1949-01-01T00:00:00.000Z
                          observationFrequency: monthly
                          observationFrequencyField: DATE
                          reviewStatus: none
                          rowCount: 144
                          runId: 2daf8dad-1110-471a-8ae1-61dd3b66e65b
                          runStatus: new
                          sourceSystem: SAS
                        resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR
                      - creationTimeStamp: 2023-03-27T13:58:15.243Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.243Z
                        modifiedBy: sasuser
                        id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/updates/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/7aae9eec-77c3-447e-946d-bc60df945e7d
                            uri: /catalog/definitions/7aae9eec-77c3-447e-946d-bc60df945e7d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff/history
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/DATE
                            uri: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/DATE
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasColumn
                        name: DATE
                        type: sasColumn
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          bestChartType: box
                          cardinalityCount: 144
                          completenessPercent: 100
                          dataType: num
                          hasOutliers: false
                          hasUniqueField: true
                          kurtosis: -1.199992455
                          leastCommonValue: -3744
                          max: 335
                          mean: -1841.791667
                          median: -1841.5
                          min: -4017
                          missingCount: 0
                          mostCommonValue: 31
                          nOutliers: 0
                          ordinalPosition: 1
                          quantiles25: -2937.5
                          quantiles50: -1841.5
                          quantiles75: -745.5
                          rawLength: 8
                          sasDataType: num
                          sasFormat: MONYY.
                          sasFormatFull: MONYY.
                          skewness: 0.0000576197
                          standardDeviation: 1269.6488523
                          statisticalScale: id
                          uniquenessPercent: 100
                        resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/DATE
                      - creationTimeStamp: 2023-03-27T13:58:15.241Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.241Z
                        modifiedBy: sasuser
                        id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/updates/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/7aae9eec-77c3-447e-946d-bc60df945e7d
                            uri: /catalog/definitions/7aae9eec-77c3-447e-946d-bc60df945e7d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70/history
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/AIR
                            uri: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/AIR
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasColumn
                        name: AIR
                        label: international airline travel (thousands)
                        description: international airline travel (thousands)
                        type: sasColumn
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          bestChartType: box
                          cardinalityCount: 118
                          completenessPercent: 100
                          dataType: num
                          hasOutliers: false
                          hasUniqueField: false
                          kurtosis: -0.364941862
                          leastCommonValue: 136
                          max: 622
                          mean: 280.29861111
                          median: 265.5
                          min: 104
                          missingCount: 0
                          mode: 229
                          mostCommonValue: 472
                          nOutliers: 0
                          ordinalPosition: 2
                          quantiles25: 180
                          quantiles50: 265.5
                          quantiles75: 361
                          rawLength: 8
                          sasDataType: num
                          skewness: 0.5831604862
                          standardDeviation: 119.96631694
                          statisticalScale: interval
                          uniquenessPercent: 81.944444444
                        resourceId: /dataTables/dataSources/Compute~fs~f2b691cb-bc16-44f1-babe-e8feb132930f~fs~SASHELP/tables/AIR/columns/AIR
                      - creationTimeStamp: 2023-03-27T13:58:15.246Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.246Z
                        modifiedBy: sasuser
                        id: 2929ff23-410c-4c50-b99d-aeb66443c6be
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/updates/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            uri: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be/history
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: valueCountCollection
                        type: valueCountCollection
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          values:
                            - characterValue: null
                              count: 1
                              numericValue: -3897
                              rank: 2
                            - characterValue: null
                              count: 1
                              numericValue: -3713
                              rank: 3
                            - characterValue: null
                              count: 1
                              numericValue: -3593
                              rank: 11
                            - characterValue: null
                              count: 1
                              numericValue: -3683
                              rank: 4
                            - characterValue: null
                              count: 1
                              numericValue: -3866
                              rank: 5
                            - characterValue: null
                              count: 1
                              numericValue: -3958
                              rank: 6
                            - characterValue: null
                              count: 1
                              numericValue: -3652
                              rank: 7
                            - characterValue: null
                              count: 1
                              numericValue: -3744
                              rank: 1
                            - characterValue: null
                              count: 1
                              numericValue: -3440
                              rank: 8
                            - characterValue: null
                              count: 1
                              numericValue: -3621
                              rank: 9
                            - characterValue: null
                              count: 1
                              numericValue: -3836
                              rank: 10
                            - characterValue: null
                              count: 1
                              numericValue: -3562
                              rank: 12
                            - characterValue: null
                              count: 1
                              numericValue: -3805
                              rank: 14
                            - characterValue: null
                              count: 1
                              numericValue: -3927
                              rank: 13
                            - characterValue: null
                              count: 1
                              numericValue: -3986
                              rank: 15
                            - characterValue: null
                              count: 1
                              numericValue: -4017
                              rank: 16
                            - characterValue: null
                              count: 1
                              numericValue: -3532
                              rank: 17
                            - characterValue: null
                              count: 1
                              numericValue: -3774
                              rank: 19
                            - characterValue: null
                              count: 1
                              numericValue: -3501
                              rank: 18
                            - characterValue: null
                              count: 1
                              numericValue: -3471
                              rank: 20
                        resourceId: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                      - creationTimeStamp: 2023-03-27T13:58:15.248Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.248Z
                        modifiedBy: sasuser
                        id: 6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/updates/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            uri: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da/history
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: valueCountCollection
                        type: valueCountCollection
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          values:
                            - characterValue: null
                              count: 1
                              numericValue: -122
                              rank: 2
                            - characterValue: null
                              count: 1
                              numericValue: 60
                              rank: 3
                            - characterValue: null
                              count: 1
                              numericValue: 182
                              rank: 11
                            - characterValue: null
                              count: 1
                              numericValue: 91
                              rank: 4
                            - characterValue: null
                              count: 1
                              numericValue: -92
                              rank: 5
                            - characterValue: null
                              count: 1
                              numericValue: -184
                              rank: 6
                            - characterValue: null
                              count: 1
                              numericValue: 121
                              rank: 7
                            - characterValue: null
                              count: 1
                              numericValue: 31
                              rank: 1
                            - characterValue: null
                              count: 1
                              numericValue: 335
                              rank: 8
                            - characterValue: null
                              count: 1
                              numericValue: 152
                              rank: 9
                            - characterValue: null
                              count: 1
                              numericValue: -61
                              rank: 10
                            - characterValue: null
                              count: 1
                              numericValue: 213
                              rank: 12
                            - characterValue: null
                              count: 1
                              numericValue: -31
                              rank: 14
                            - characterValue: null
                              count: 1
                              numericValue: -153
                              rank: 13
                            - characterValue: null
                              count: 1
                              numericValue: -214
                              rank: 15
                            - characterValue: null
                              count: 1
                              numericValue: -245
                              rank: 16
                            - characterValue: null
                              count: 1
                              numericValue: 244
                              rank: 17
                            - characterValue: null
                              count: 1
                              numericValue: 0
                              rank: 19
                            - characterValue: null
                              count: 1
                              numericValue: 274
                              rank: 18
                            - characterValue: null
                              count: 1
                              numericValue: 305
                              rank: 20
                        resourceId: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                      - creationTimeStamp: 2023-03-27T13:58:15.244Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.244Z
                        modifiedBy: sasuser
                        id: 31e2706d-1274-44ac-84b4-87d48c9cdf3b
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/updates/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            uri: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b/history
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: valueCountCollection
                        type: valueCountCollection
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          values:
                            - characterValue: null
                              count: 1
                              numericValue: 104
                              rank: 17
                            - characterValue: null
                              count: 1
                              numericValue: 114
                              rank: 16
                            - characterValue: null
                              count: 1
                              numericValue: 125
                              rank: 3
                            - characterValue: null
                              count: 1
                              numericValue: 136
                              rank: 1
                            - characterValue: null
                              count: 1
                              numericValue: 126
                              rank: 10
                            - characterValue: null
                              count: 1
                              numericValue: 119
                              rank: 12
                            - characterValue: null
                              count: 1
                              numericValue: 141
                              rank: 14
                            - characterValue: null
                              count: 2
                              numericValue: 118
                              rank: 20
                            - characterValue: null
                              count: 2
                              numericValue: 135
                              rank: 19
                            - characterValue: null
                              count: 1
                              numericValue: 133
                              rank: 2
                            - characterValue: null
                              count: 1
                              numericValue: 145
                              rank: 9
                            - characterValue: null
                              count: 1
                              numericValue: 140
                              rank: 7
                            - characterValue: null
                              count: 1
                              numericValue: 146
                              rank: 4
                            - characterValue: null
                              count: 1
                              numericValue: 129
                              rank: 13
                            - characterValue: null
                              count: 1
                              numericValue: 112
                              rank: 15
                            - characterValue: null
                              count: 2
                              numericValue: 148
                              rank: 18
                            - characterValue: null
                              count: 1
                              numericValue: 149
                              rank: 11
                            - characterValue: null
                              count: 1
                              numericValue: 132
                              rank: 8
                            - characterValue: null
                              count: 1
                              numericValue: 121
                              rank: 6
                            - characterValue: null
                              count: 1
                              numericValue: 115
                              rank: 5
                        resourceId: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                      - creationTimeStamp: 2023-03-27T13:58:15.247Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.247Z
                        modifiedBy: sasuser
                        id: 01f95f5e-0be9-4de7-b936-cc1feb5630da
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/updates/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: PUT
                            rel: update
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/vnd.sas.metadata.instance.entity
                            responseType: application/vnd.sas.metadata.instance.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            uri: /catalog/definitions/f1ab914d-cd28-4f1a-a979-16c8abfc894d
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: history
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da/history
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: resource
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: valueCountCollection
                        type: valueCountCollection
                        attributes:
                          analysisTimeStamp: 2023-03-27T13:58:13.76Z
                          values:
                            - characterValue: null
                              count: 1
                              numericValue: 417
                              rank: 17
                            - characterValue: null
                              count: 1
                              numericValue: 535
                              rank: 16
                            - characterValue: null
                              count: 1
                              numericValue: 505
                              rank: 3
                            - characterValue: null
                              count: 2
                              numericValue: 472
                              rank: 1
                            - characterValue: null
                              count: 1
                              numericValue: 467
                              rank: 10
                            - characterValue: null
                              count: 1
                              numericValue: 463
                              rank: 12
                            - characterValue: null
                              count: 1
                              numericValue: 432
                              rank: 14
                            - characterValue: null
                              count: 1
                              numericValue: 413
                              rank: 20
                            - characterValue: null
                              count: 1
                              numericValue: 422
                              rank: 19
                            - characterValue: null
                              count: 2
                              numericValue: 461
                              rank: 2
                            - characterValue: null
                              count: 1
                              numericValue: 508
                              rank: 9
                            - characterValue: null
                              count: 1
                              numericValue: 435
                              rank: 7
                            - characterValue: null
                              count: 1
                              numericValue: 606
                              rank: 4
                            - characterValue: null
                              count: 1
                              numericValue: 622
                              rank: 13
                            - characterValue: null
                              count: 1
                              numericValue: 465
                              rank: 15
                            - characterValue: null
                              count: 1
                              numericValue: 419
                              rank: 18
                            - characterValue: null
                              count: 1
                              numericValue: 548
                              rank: 11
                            - characterValue: null
                              count: 1
                              numericValue: 491
                              rank: 8
                            - characterValue: null
                              count: 1
                              numericValue: 420
                              rank: 6
                            - characterValue: null
                              count: 1
                              numericValue: 559
                              rank: 5
                        resourceId: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                    relationships:
                      - creationTimeStamp: 2023-03-27T13:58:15.252Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.252Z
                        modifiedBy: sasuser
                        id: 26567402-b6fc-456b-b43c-b110ea4d0f74
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            uri: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            uri: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            uri: /catalog/updates/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            uri: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                            uri: /catalog/instances/26567402-b6fc-456b-b43c-b110ea4d0f74
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                            uri: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: dataSetDataFields
                        type: dataSetDataFields
                        endpoint1Id: 761a6943-429a-4fb7-ac55-24f58a90f354
                        endpoint1Uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                        endpoint2Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        endpoint2Uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                      - creationTimeStamp: 2023-03-27T13:58:15.254Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.254Z
                        modifiedBy: sasuser
                        id: e941af17-7f83-4507-9382-0424c202f306
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            uri: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            uri: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/e941af17-7f83-4507-9382-0424c202f306
                            uri: /catalog/updates/instances/e941af17-7f83-4507-9382-0424c202f306
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            uri: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                            uri: /catalog/instances/e941af17-7f83-4507-9382-0424c202f306
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/dbef2435-999b-4409-9230-1ea080d928f6
                            uri: /catalog/definitions/dbef2435-999b-4409-9230-1ea080d928f6
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: topNCollectionsForDataField
                        type: topNCollectionsForDataField
                        endpoint1Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        endpoint1Uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        endpoint2Id: 01f95f5e-0be9-4de7-b936-cc1feb5630da
                        endpoint2Uri: /catalog/instances/01f95f5e-0be9-4de7-b936-cc1feb5630da
                      - creationTimeStamp: 2023-03-27T13:58:15.255Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.255Z
                        modifiedBy: sasuser
                        id: caebacca-916f-4b08-bb1e-f6ab2f807a4f
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            uri: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            uri: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            uri: /catalog/updates/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            uri: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                            uri: /catalog/instances/caebacca-916f-4b08-bb1e-f6ab2f807a4f
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/dbef2435-999b-4409-9230-1ea080d928f6
                            uri: /catalog/definitions/dbef2435-999b-4409-9230-1ea080d928f6
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: topNCollectionsForDataField
                        type: topNCollectionsForDataField
                        endpoint1Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        endpoint1Uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        endpoint2Id: 6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                        endpoint2Uri: /catalog/instances/6f3f9f8b-5ec9-422b-888c-ad8d5a3726da
                      - creationTimeStamp: 2023-03-27T13:58:15.254Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.254Z
                        modifiedBy: sasuser
                        id: bd139edc-1d62-42e2-b44d-7a78fd164448
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            uri: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            uri: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            uri: /catalog/updates/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            uri: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                            uri: /catalog/instances/bd139edc-1d62-42e2-b44d-7a78fd164448
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f8f74ee2-1866-41b3-8dbc-9dfeef4a8025
                            uri: /catalog/definitions/f8f74ee2-1866-41b3-8dbc-9dfeef4a8025
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: bottomNCollectionsForDataField
                        type: bottomNCollectionsForDataField
                        endpoint1Id: cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        endpoint1Uri: /catalog/instances/cbbc1f18-10a8-1341-b0e8-c66ae0cc75ff
                        endpoint2Id: 2929ff23-410c-4c50-b99d-aeb66443c6be
                        endpoint2Uri: /catalog/instances/2929ff23-410c-4c50-b99d-aeb66443c6be
                      - creationTimeStamp: 2023-03-27T13:58:15.253Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.253Z
                        modifiedBy: sasuser
                        id: 6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            uri: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            uri: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            uri: /catalog/updates/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            uri: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                            uri: /catalog/instances/6bc59c42-3bea-4245-a045-bbdfb9bc2d64
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/f8f74ee2-1866-41b3-8dbc-9dfeef4a8025
                            uri: /catalog/definitions/f8f74ee2-1866-41b3-8dbc-9dfeef4a8025
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: bottomNCollectionsForDataField
                        type: bottomNCollectionsForDataField
                        endpoint1Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        endpoint1Uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        endpoint2Id: 31e2706d-1274-44ac-84b4-87d48c9cdf3b
                        endpoint2Uri: /catalog/instances/31e2706d-1274-44ac-84b4-87d48c9cdf3b
                      - creationTimeStamp: 2023-03-27T13:58:15.251Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.251Z
                        modifiedBy: sasuser
                        id: 55419c19-5cfe-4314-b6e7-72a93447e8a0
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            uri: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            uri: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            uri: /catalog/updates/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            uri: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                            uri: /catalog/instances/55419c19-5cfe-4314-b6e7-72a93447e8a0
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                            uri: /catalog/definitions/4e7ee014-5234-422b-acf1-18ca08ff1c4e
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: dataSetDataFields
                        type: dataSetDataFields
                        endpoint1Id: 761a6943-429a-4fb7-ac55-24f58a90f354
                        endpoint1Uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                        endpoint2Id: be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                        endpoint2Uri: /catalog/instances/be8e0ff1-58d4-1644-bdde-fd3c8e7b8a70
                      - creationTimeStamp: 2023-03-27T13:58:15.249Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2023-03-27T13:58:15.249Z
                        modifiedBy: sasuser
                        id: d7751d02-58af-470a-9955-14c30475d340
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            uri: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            type: application/vnd.sas.metadata.instance.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            uri: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            type: application/vnd.sas.summary
                          - method: GET
                            rel: up
                            href: /catalog/instances
                            uri: /catalog/instances
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.instance
                          - method: PATCH
                            rel: patch
                            href: /catalog/updates/instances/d7751d02-58af-470a-9955-14c30475d340
                            uri: /catalog/updates/instances/d7751d02-58af-470a-9955-14c30475d340
                            type: application/json-patch
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: PUT
                            rel: update
                            href: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            uri: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            type: application/vnd.sas.metadata.instance.relationship
                            responseType: application/vnd.sas.metadata.instance.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                            uri: /catalog/instances/d7751d02-58af-470a-9955-14c30475d340
                          - method: GET
                            rel: endpoint1
                            href: /catalog/instances/2036edd2-1761-4f6a-b3a9-cd6445f022df
                            uri: /catalog/instances/2036edd2-1761-4f6a-b3a9-cd6445f022df
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: endpoint2
                            href: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
                            type: application/vnd.sas.metadata.instance.entity
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/4b114f6e-1c2a-4060-9184-6809a612f27b
                            uri: /catalog/definitions/4b114f6e-1c2a-4060-9184-6809a612f27b
                            type: application/vnd.sas.metadata.definition.relationship
                        version: 1
                        instanceType: relationship
                        definition: dataStoreDataSets
                        type: dataStoreDataSets
                        endpoint1Id: 2036edd2-1761-4f6a-b3a9-cd6445f022df
                        endpoint1Uri: /catalog/instances/2036edd2-1761-4f6a-b3a9-cd6445f022df
                        endpoint2Id: 761a6943-429a-4fb7-ac55-24f58a90f354
                        endpoint2Uri: /catalog/instances/761a6943-429a-4fb7-ac55-24f58a90f354
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  /instances#download:
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: downloadInstances
      summary: Download instances
      description: >
        Downloads resulting metadata for instances. The `level` query parameter indicates the level or degree of complexity of the metadata to return in the response. Each of the levels provides the returned metadata in different tabular structures.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * description,
          * type,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy,
          * modifiedTimeStamp,
          * definition,
          * resourceId,
          * endpoint1Id, and
          * endpoint2Id
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - name: level
          in: query
          description: The level or degree of complexity of metadata to be included.
          schema:
            type: string
            format: enumeration
            enum:
              - dataDictionary
              - dataDictionaryAndProfile
              - detailedMetrics
            default: dataDictionary
        - name: delimiter
          in: query
          description: >
            The delimiter to use to separate individual fields within a row. Defaults to comma (","). Note that the encoded value will need to be provided for semi-colon (i.e. `%3B`).
          schema:
            type: string
            format: enumeration
            enum:
              - ","
              - ;
            default: ","
        - name: prefix
          in: query
          description: >
            A consumer-provided prefix to include on any downloaded file name. Max length is 50 characters and can only contain alphanumeric characters, hyphen (-), or an underscore (_).
          schema:
            type: string
        - name: dateTimeStampSuffix
          in: query
          description: Indicates whether to include a date timestamp as a suffix on any downloaded file name. Defaults to true.
          schema:
            type: boolean
            default: true
        - name: Accept
          description: The desired representation for the response. Defaults to text/csv.
          in: header
          schema:
            type: string
            enum:
              - text/csv
            default: text/csv
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Content-Disposition:
              description: >
                Indicates if the content is expected to be displayed inline in the browser or as an attachment that is downloaded and saved locally.
              schema:
                type: string
            Content-Length:
              description: Indicates the size of the message body (in bytes).
              schema:
                type: string
            Content-Encoding:
              description: Lists any encodings (comma separated) that have been applied to the message payload and in what order.
              schema:
                type: string
          content:
            text/csv:
              schema:
                type: string
              examples:
                Instances Download - dataDictionary:
                  summary: Instances Download Response - dataDictionary
                  description: Results for a filter on `eq('name', 'cars')`` in data dictionary format.
                  value: libraryName,tableName,tableLabel,tableDescription,tableType,numberOfColumns,numberOfRows,tableSize,tableEncoding,tableReviewStatus,tableDateCreated,tableCreatedBy,tableDateModified,tableModifiedBy,columnName,columnOrdinalPosition,columnLabel,columnDescription,columnDataType,columnLength,columnFormat SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Make,1,,,char,13,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Model,2,,,char,40,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Type,3,,,char,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Origin,4,,,char,6,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,DriveTrain,5,,,char,5,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,MSRP,6,,,num,8,DOLLAR8. SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Invoice,7,,,num,8,DOLLAR8. SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,EngineSize,8,Engine Size (L),,,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Cylinders,9,,,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Horsepower,10,,,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,MPG_City,11,MPG (City),,,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,MPG_Highway,12,MPG (Highway),,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Weight,13,Weight (LBS),,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Wheelbase,14,Wheelbase (IN),,num,8,, SASHELP,cars,2004 Car Data,,sasTable,15,428,196608,us-ascii  ASCII (ANSI),none,"Mon, 06 Feb 2023 19:00:02 UTC",sas,"Mon, 06 Feb 2023 19:00:02 UTC",sas,Length,15,Length (IN),,num,8,,
                Instances Download - dataDictionaryAndProfile:
                  summary: Instances Download Response - dataDictionaryAndProfile
                  description: Results for a download request using the dataDictionaryAndProfile option.
                  value: libraryResourceID,libraryName,tableKey,tableName,tableLabel,tableDescription,tableType,numberOfColumns,numberOfRows,tableSize,tableEncoding,tableReviewStatus,tableDateCreated,tableCreatedBy,tableDateModified,tableModifiedBy,isView,profileLocale,tableKeywords,tableTerms,tableTags,tableLanguage,columnCountPositiveSentiment,columnCountNegativeSentiment,columnCountNeutralSentiment,tableSentimentScore,tableSentiment,tableExtension,tableCompletenessPercent,tablePrivacy,timePeriodCoveredMinimum,timePeriodCoveredMaximum,tableObservationFrequency,tableObservationFrequencyColumn,tableCountOfDateColumns,tableMostImportantColumns,columnKey,columnName,columnOrdinalPosition,columnLabel,columnDescription,columnDataType,columnCASDataType,columnSASDataType,columnLength,columnFormat,columnBestChartType,isPKCandidate,mean,median,min,max,standardDeviation,missingCount,columnCompletenessPercent,columnUniquenessPercent,mode_numeric,mode_string,cardinalityCount,kurtosis,skewness,hasOutliers,numberOfOutliers,statisticalScale,quantiles25,quantiles50,quantiles75,columnSemanticID,columnSemanticIDScore,actualDataType,columnInformationPrivacy,mostCommonValue_numeric,mostCommonValue_string,leastCommonValue_numeric,leastCommonValue_string,mismatchedCount,blankValueCount,charsMinCount,charsMaxCount,languagesIdentified,keywords,countRowsPositiveSentiment,countRowsNegativeSentiment,countRowsNeutralSentiment,pctRowsPositiveSentiment,pctRowsNegativeSentiment,pctRowsNeutralSentiment,columnSentimentScore,columnSentiment /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,25ca9e7b-1e08-41ee-bf46-f93e2a695fc5,CATALOG_MICRO_AMAZON_REVIEW_500.sashdat,,,casTable,5,18,43404,utf-8,none,"Wed, 13 Sep 2023 20:56:12 UTC",sas,"Wed, 13 Sep 2023 20:56:12 UTC",sas.SASDataExplorer,false,EN,"game,titles,pros,great,price,system,controller,systems,controllers,games,graphics,tennis,video,people","barbie ross,debbie lee wesselmann,terry w. mccammon",INDIVIDUAL,"nl,en,it,de",3,0,2,0.7918144269,POSITIVE,sashdat,97,private,,,,,,"""Stars""",167aac05-886a-8f4f-b22c-13ffc2b1b45f,reviewer,1,,,char,varchar,char,30,,frequency,false,,,,,,2,88,94.444444444,,Vincent Do,17,,,,,nominal,,,,,177.77777778,String,,,Vincent Do,,Ali,0,0,2,30,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,25ca9e7b-1e08-41ee-bf46-f93e2a695fc5,CATALOG_MICRO_AMAZON_REVIEW_500.sashdat,,,casTable,5,18,43404,utf-8,none,"Wed, 13 Sep 2023 20:56:12 UTC",sas,"Wed, 13 Sep 2023 20:56:12 UTC",sas.SASDataExplorer,false,EN,"game,titles,pros,great,price,system,controller,systems,controllers,games,graphics,tennis,video,people","barbie ross,debbie lee wesselmann,terry w. mccammon",INDIVIDUAL,"nl,en,it,de",3,0,2,0.7918144269,POSITIVE,sashdat,97,private,,,,,,"""Stars""",b1ba80f0-6d02-de44-b8a5-77cef04ec97d,reviewrating,2,,,char,varchar,char,18,,frequency,false,,,,,,0,100,16.666666667,,5.0 out of 5 stars,3,,,,,nominal,,,,,200,String,,,5.0 out of 5 stars,,3.0 out of 5 stars,0,0,18,18,,,18,,,100,,,0.8561958049,POSITIVE /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,25ca9e7b-1e08-41ee-bf46-f93e2a695fc5,CATALOG_MICRO_AMAZON_REVIEW_500.sashdat,,,casTable,5,18,43404,utf-8,none,"Wed, 13 Sep 2023 20:56:12 UTC",sas,"Wed, 13 Sep 2023 20:56:12 UTC",sas.SASDataExplorer,false,EN,"game,titles,pros,great,price,system,controller,systems,controllers,games,graphics,tennis,video,people","barbie ross,debbie lee wesselmann,terry w. mccammon",INDIVIDUAL,"nl,en,it,de",3,0,2,0.7918144269,POSITIVE,sashdat,97,private,,,,,,"""Stars""",bc2662b4-8b33-a844-93e0-673954b2eac8,Stars,3,,,num,double,num,8,,frequency,false,4.6111111111,5,3,5,0.6076849889,0,100,16.666666667,5,,3,1.12632156,-1.36161604,false,0,nominal,4,5,5,,,,,5,,3,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,25ca9e7b-1e08-41ee-bf46-f93e2a695fc5,CATALOG_MICRO_AMAZON_REVIEW_500.sashdat,,,casTable,5,18,43404,utf-8,none,"Wed, 13 Sep 2023 20:56:12 UTC",sas,"Wed, 13 Sep 2023 20:56:12 UTC",sas.SASDataExplorer,false,EN,"game,titles,pros,great,price,system,controller,systems,controllers,games,graphics,tennis,video,people","barbie ross,debbie lee wesselmann,terry w. mccammon",INDIVIDUAL,"nl,en,it,de",3,0,2,0.7918144269,POSITIVE,sashdat,97,private,,,,,,"""Stars""",e780aeba-1bc1-f74d-81a6-124710ae3ae9,reviewtitle,4,,,char,varchar,char,64,,frequency,true,,,,,,0,100,100,,Wow... I am... STUNNED,18,,,,,nominal,,,,INDIVIDUAL,201,String,private,,Wow... I am... STUNNED,,A Whole New Realm of Video Gaming,0,0,8,64,"de,it,en,nl",,11,3,,61.111111111,16.666666667,,0.7134753552,POSITIVE /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,25ca9e7b-1e08-41ee-bf46-f93e2a695fc5,CATALOG_MICRO_AMAZON_REVIEW_500.sashdat,,,casTable,5,18,43404,utf-8,none,"Wed, 13 Sep 2023 20:56:12 UTC",sas,"Wed, 13 Sep 2023 20:56:12 UTC",sas.SASDataExplorer,false,EN,"game,titles,pros,great,price,system,controller,systems,controllers,games,graphics,tennis,video,people","barbie ross,debbie lee wesselmann,terry w. mccammon",INDIVIDUAL,"nl,en,it,de",3,0,2,0.7918144269,POSITIVE,sashdat,97,private,,,,,,"""Stars""",50b9c5a0-1625-b843-bcb1-f209890a55e9,reviewbody,5,,,char,varchar,char,10450,,frequency,true,,,,,,0,100,100,,,18,,,,,nominal,,,,,,,,,,,,,,,,en,"titles,controller,systems,graphics,games,pros,video,game,great,price,system,people,tennis,controllers",14,3,1,77.777777778,16.666666667,5.5555555556,0.8057721205,POSITIVE /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",55681dfc-fbf7-7e4c-8ae0-3e134cbce7e8,CustID,1,CustID,CustID,num,double,num,8,BEST8.,box,false,18604898.185,14054201,163,48188727,13662706.394,0,100,75.245310447,34410005,,699816,-1.510904769,0.1920159954,false,0,interval,5616559,14054201,31527426,GENERIC_ID,201,,,34410005,,163,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",bf6f0a0e-aa1e-ca45-9708-412f34d7ccb9,bucket,2,12 week RFM Bucket,12 week RFM Bucket,num,double,num,8,,frequency,false,1.5802622454,2,1,3,0.61468128,0,100,0.0003225647,1,,3,-0.605646287,0.559678087,false,0,nominal,1,2,2,,,,,1,,3,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",5ed859d0-16e1-9449-be61-8538d93135e8,age,3,Customer Age,Customer Age,num,double,num,8,,box,false,43.465762778,39,18,140,19.610600286,673447,27,0.0133326739,23,,124,0.7781342996,0.9892668641,true,1563,interval,28,39,55,AGE,201,,private,23,,140,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",b0bcd016-7bb7-ac4a-ba5b-d325de571e39,loyalty_card,4,Loyalty Card,Loyalty Card,num,double,num,8,F1.,frequency,false,0.2755780634,0,0,1,0.4468062977,0,100,0.0002150431,0,,2,-0.990847535,1.0045711119,false,0,binary,0,0,1,,,,,0,,1,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",707ba3cf-a725-cd41-9dd8-e1facf8aa4ff,Department,5,Department,Department,char,char,char,11,$CHAR11.,frequency,false,,,,,,0,100,0.0006451294,,women,6,,,,,nominal,,,,ORGANIZATION,201,String,,,women,,men,0,0,3,11,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",c50b96ce-a00d-0245-b532-d5fb77d08209,brand_name,6,Brand Name,Brand Name,char,char,char,5,,frequency,false,,,,,,0,100,0.0003225647,,Pine,3,,,,,nominal,,,,ORGANIZATION,201,String,,,Pine,,Maple,0,0,3,5,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",8ca5de9e-0c80-4640-bc5d-744d83bd1cbb,Storechain,7,Storechain,Storechain,char,char,char,5,$CHAR5.,frequency,false,,,,,,0,100,0.0003225647,,GRAND,3,,,,,nominal,,,,,200,String,,,GRAND,,MODA,0,0,4,5,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",ae21538f-5f88-2240-ac01-0d1a2abf0dee,ChannelType,8,ChannelType,ChannelType,char,char,char,8,$CHAR8.,frequency,false,,,,,,0,100,0.0003225647,,Internet,3,,,,,nominal,,,,,200,String,,,Internet,,Resale,0,0,5,8,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",f2423a48-fbcd-104f-b3b9-7f9d7ae20228,Class,9,Class,Class,char,char,char,21,$CHAR21.,frequency,false,,,,,,0,100,0.0153755836,,bath & body,143,,,,,nominal,,,,,200,String,,,bath & body,,cleaning,0,0,4,21,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",bd142f19-e57e-c44d-9b5e-eb5157b885aa,StoreNum,10,StoreNum,StoreNum,num,double,num,8,BEST4.,box,false,613.44374197,603,2,1279,348.58727889,0,100,0.1156932023,736,,1076,-1.112411399,0.1030423482,false,0,interval,318,603,901,GENERIC_ID,201,,,736,,9,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",9d7550c3-0329-dc43-ac12-8c4e3aafcc06,Storeage,11,Storeage,Storeage,num,double,num,8,BEST2.,box,false,8.4101360687,8,1,29,4.938544372,0,100,0.0029030822,2,,27,0.809284249,0.7827121243,true,27458,interval,5,8,11,,,,,2,,27,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",65130fc4-4590-c048-9ab2-809a6bad5dd9,trx_hr_char,12,,,char,char,char,5,,frequency,false,,,,,,9,99,0.0013977803,,3 PM,13,,,,,nominal,,,,TIME,200,String,,,3 PM,,,7367,0,4,5,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",e833c73d-bce6-7149-b8b8-95f467b21a95,trx_dow_new,13,,,char,char,char,3,,frequency,false,,,,,,0,100,0.0007526509,,SAT,7,,,,,nominal,,,,,200,String,,,SAT,,MON,0,0,3,3,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",9af40c28-9c58-0144-a1f9-aaa21bc728cf,trx_tod,14,Transaction Time of Day,Transaction Time of Day,char,char,char,10,,frequency,false,,,,,,0,100,0.0003225647,,Afternoon,3,,,,,nominal,,,,,200,String,,,Afternoon,,Evening,0,0,7,9,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",84c41c59-0d13-3342-97b9-feaacc4de6c8,Date,15,,,num,double,num,8,MMDDYY10.,timeseries,false,18202.992678,18206,18111,18292,51.228134882,0,100,0.0195689245,18228,,182,-1.201646399,-0.068919758,,,interval,18158,18206,18247,DATE,201,,,18228,,18256,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",eaa58aa0-abe5-e843-b512-e51ad48e1b71,MDY,16,,,num,double,num,8,TIME8.,frequency,false,32362.907279,36540,4200,43740,12447.778819,0,100,0.0006451294,43740,,6,0.9206438083,-1.449405325,,,nominal,29340,36540,40140,DATE,201,,,43740,,4200,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",e994d752-7dfe-934e-baa5-d2e72544ebcc,Year,17,Year,Year,num,double,num,8,BEST4.,frequency,false,2009.1429286,2009,2009,2010,0.3500009298,0,100,0.0002150431,2009,,2,2.163356233,2.0404247047,true,133424,binary,2009,2009,2009,YEAR,201,,,2009,,2010,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",dbec06d7-5146-6d42-ac97-4432d6ae95e2,Sales,18,,,num,double,num,8,BEST6.,box,false,41.945126311,35,0,1000,29.26497479,0,100,0.0342993787,28,,319,17.716523756,2.142492995,true,20882,interval,21,35,58,,,,,28,,184,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",7e0630e9-cfd8-3b44-b2e1-95402ef63272,Cost,19,,,num,double,num,8,BEST3.,box,false,13.640920601,13,0,150,8.129498807,0,100,0.0088167682,6,,82,10.94470805,1.9196321659,true,23299,interval,8,13,18,,,,,6,,69,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",d45f22c3-4991-634a-85c9-0d21ad1b65eb,mkt_bdgt,20,Marketing Budget,Marketing Budget,num,double,num,8,DOLLAR15.,box,false,658991.56773,66016.35,0,5094380.9,1162702.2331,0,100,0.2926736957,3604909.76,,2722,4.4024179739,2.1916246319,true,107518,interval,22506.3,66016.35,863544.08,,,,,3604909.76,,8.16,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",55cb1199-e7fe-6741-b760-20b5ff876b5f,Margin,21,,,num,double,num,8,BEST9.,box,false,28.34826503,22.2,-58.76,1000,24.89531269,0,100,1.5266986794,50,,14199,31.193681704,2.4801677108,true,21692,interval,11.4,22.2,42,,,,,50,,-58.76,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",a9dce070-f8f1-af45-b392-4d98f1353d12,sss,22,Store Square Surface,Store Square Surface,num,double,num,8,COMMA15.,box,false,86119.115688,93551,703,199413,67821.222704,0,100,0.1089193438,165122,,1013,-1.454226999,-0.022606545,false,0,interval,1406,93551,146255,,,,,165122,,56400,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",a91b9af2-1a31-a74d-a156-316fcac9c2db,City,23,,,char,char,char,21,$CHAR21.,frequency,false,,,,,,0,100,0.0220419205,,Houston,205,,,,,nominal,,,,CITY,201,String,candidate,,Houston,,Del Mar,0,0,4,21,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",98c8f947-582e-9543-8684-a3ed02c55c6a,City_Lat,24,,,num,double,num,8,BEST11.,box,false,36.905054831,38.034506,21.30895,47.673341,5.2819682946,0,100,0.0225795283,29.762895,,210,-0.471301099,-0.298540363,true,2947,interval,33.524755,38.034506,40.704234,LATITUDE,201,,candidate,29.762895,,32.96178,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",a287bda8-4838-fa40-8b57-9fe5bbc02067,City_Long,25,,,num,double,num,8,,box,false,-91.18337477,-85.749534,-157.826182,-70.961465,16.033612828,0,100,0.0225795283,-95.383173,,210,0.1510199943,-0.947499979,true,2947,interval,-97.33379,-85.749534,-79.039466,LONGITUDE,201,,candidate,-95.383173,,-117.264517,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",ad4bac36-4c91-944c-89ab-b3c7fbeeca6d,Country,26,,,char,char,char,13,,frequency,false,,,,,,0,100,0.0001075216,,United States,1,,,,,unary,,,,COUNTRY,202,String,candidate,,United States,,United States,0,0,13,13,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",0c36f1d3-b12a-2c48-93f1-56da39e2ec3d,Country_Lat,27,,,num,double,num,8,BEST7.,box,false,37.005125636,37.6981,21.1765,47.3522,5.1202597042,0,100,0.0045159057,35.443,,42,-0.580092872,-0.257211232,true,2947,interval,33.3523,37.6981,41.234,LATITUDE,201,,candidate,35.443,,38.9086,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",f15786e4-11bb-f640-8492-66bd317c10c5,Country_Long,28,,,num,double,num,8,BEST9.,box,false,-91.43602188,-86.431,-157.5721,-71.378,15.963726694,0,100,0.0045159057,-119.3619,,42,0.0729836837,-0.930722603,true,2947,interval,-97.4423,-86.431,-79.6546,LONGITUDE,201,,candidate,-119.3619,,-77.0118,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",d58678d4-b7ac-d146-9d0f-8ab0b0d496ac,Region,29,Region,Region,char,char,char,5,$CHAR5.,frequency,false,,,,,,0,100,0.0007526509,,US_AT,7,,,,,nominal,,,,STATE/PROVINCE,201,String,candidate,,US_AT,,US_NE,0,0,5,5,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",d1e892aa-359e-4141-a3d8-a418bf5a2494,Region_Lat,30,,,num,double,num,8,BEST4.,frequency,false,39.29899736,40.3,30,47,5.6369731636,0,100,0.0006451294,35,,6,-1.09444763,-0.288369111,false,0,nominal,35,40.3,43.3,LATITUDE,201,,candidate,35,,42,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",19cf2dac-ae7b-1843-be04-59d7786b717c,Region_Long,31,,,num,double,num,8,BEST6.,frequency,false,-90.82491304,-84.75,-121,-74.5,16.923808236,0,100,0.0007526509,-74.5,,7,-0.897876402,-0.820185673,false,0,nominal,-106,-84.75,-75,LONGITUDE,201,,candidate,-74.5,,-75,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",fa6aee62-24cd-fb4e-9e8a-551db358ed73,Region_2,32,Region_2,Region_2,char,char,char,17,,frequency,false,,,,,,0,100,0.0007526509,,US Atlantic Coast,7,,,,,nominal,,,,STATE/PROVINCE,201,String,candidate,,US Atlantic Coast,,US Northeast,0,0,10,17,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",30051f3b-f423-1947-a468-82869e804cbe,Region_2_Lat,33,,,num,double,num,8,BEST4.,frequency,false,39.29899736,40.3,30,47,5.6369731636,0,100,0.0006451294,35,,6,-1.09444763,-0.288369111,false,0,nominal,35,40.3,43.3,LATITUDE,201,,candidate,35,,42,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",c0bb80fa-b8ae-2141-8fa8-7fb56b7c6202,Region_2_Long,34,,,num,double,num,8,BEST6.,frequency,false,-90.82491304,-84.75,-121,-74.5,16.923808236,0,100,0.0007526509,-74.5,,7,-0.897876402,-0.820185673,false,0,nominal,-106,-84.75,-75,LONGITUDE,201,,candidate,-74.5,,-75,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",bfadd812-c865-0542-ab07-dc80e56fa251,State,35,State,State,char,char,char,8,$CHAR8.,frequency,false,,,,,,0,100,0.0045159057,,CA,42,,,,,nominal,,,,STATE/PROVINCE,201,String,candidate,,CA,,DC,0,0,2,2,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",bb5cc294-c7cf-ce4f-819e-a87efcfbc41c,State_Lat,36,,,num,double,num,8,BEST7.,box,false,37.005125636,37.6981,21.1765,47.3522,5.1202597042,0,100,0.0045159057,35.443,,42,-0.580092872,-0.257211232,true,2947,interval,33.3523,37.6981,41.234,LATITUDE,201,,candidate,35.443,,38.9086,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",e668f018-7115-474f-a930-de94367691f2,State_Long,37,,,num,double,num,8,BEST9.,box,false,-91.43602188,-86.431,-157.5721,-71.378,15.963726694,0,100,0.0045159057,-119.3619,,42,0.0729836837,-0.930722603,true,2947,interval,-97.4423,-86.431,-79.6546,LONGITUDE,201,,candidate,-119.3619,,-77.0118,,,,,,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",b6cd5fb5-c9d1-2240-9334-647a4ff302e7,age_bucket,38,Age Bucket,Age Bucket,char,char,char,8,,frequency,false,,,,,,0,100,0.0006451294,,26-35,6,,,,,nominal,,,,AGE,201,String,private,,26-35,,Over 65,0,0,5,7,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",b431b628-ada5-e54a-9ca3-a4ea1c495dd3,Storechain1,39,,,char,char,char,5,,frequency,false,,,,,,0,100,0.0003225647,,MODA,3,,,,,nominal,,,,,200,String,,,MODA,,FAST,0,0,4,5,,,,,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Samples,Samples,2cc70450-fa6b-ae43-a372-88e22e250218,RAND_RETAILDEMO.sashdat,,,casTable,40,930046,364578032,utf-8,none,"Tue, 08 Aug 2023 15:40:09 UTC",sas,"Tue, 08 Aug 2023 15:40:09 UTC",sas.catalog,false,EN,,"11 am,8 pm,7 pm,6 pm,5 pm,4 pm,12 pm,3 pm,10 am,2 pm,9 am,1 pm",TIME,,,,,,,sashdat,98,private,2009-08-02T00:00:00.000Z,2010-01-30T00:00:00.000Z,hourly,Date,1,"""State_Long"",""sss"",""Region_2_Long""",eba1768a-2e5c-0241-8e21-e5cef21c3211,brand_name1,40,,,char,char,char,5,,frequency,false,,,,,,0,100,0.0003225647,,Maple,3,,,,,nominal,,,,ORGANIZATION,201,String,,,Maple,,Pine,0,0,3,5,,,,,,,,,,
                Instances Download - detailedMetrics:
                  summary: Instances Download Response - detailedMetrics
                  description: Partial results for a download request using the detailedMetrics option.  This example is limited to output for the first column of the table due to its length.
                  value: libraryResourceID,libraryName,tableKey,tableName,columnKey,columnName,columnOrdinalPosition,valueType,valueData,valueCount,valueDataType,valueWhenNumeric,option1Name,option1Value,option2Name,option2Value,option3Name,option3Value /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,DBA,0.9259233095,number,0.9259233095,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,GRADE DATE,0.9232903874,number,0.9232903874,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,INSPECTION DATE,0.9128355265,number,0.9128355265,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,STREET,0.9114381437,number,0.9114381437,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,CUISINE DESCRIPTION,0.6172847133,number,0.6172847133,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,VIOLATION CODE,0.5303017224,number,0.5303017224,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,VIOLATION DESCRIPTION,0.5303017224,number,0.5303017224,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,INSPECTION TYPE,0.5275780949,number,0.5275780949,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,BORO,0.4454724947,number,0.4454724947,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,GRADE,0.4308722913,number,0.4308722913,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,ACTION,0.4257305829,number,0.4257305829,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,CRITICAL FLAG,0.3639298273,number,0.3639298273,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,correlation,RECORD DATE,0,number,0,correlationType,nominalInterval,correlationStat,NormMI,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,41031273,2,number,41031273,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,41411067,2,number,41411067,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50039815,1,number,50039815,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50040674,1,number,50040674,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50043011,1,number,50043011,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50043592,1,number,50043592,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50043829,1,number,50043829,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50043898,1,number,50043898,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50046505,1,number,50046505,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50051314,1,number,50051314,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50052226,1,number,50052226,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50052511,1,number,50052511,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50052602,1,number,50052602,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50053505,1,number,50053505,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50055236,1,number,50055236,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50057000,1,number,50057000,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50059022,1,number,50059022,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50063847,1,number,50063847,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50067790,1,number,50067790,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,topN,50070866,1,number,50070866,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40365904,1,number,40365904,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40368809,1,number,40368809,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40370168,1,number,40370168,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40377630,1,number,40377630,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40380559,1,number,40380559,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40382367,1,number,40382367,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40383281,1,number,40383281,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40384222,1,number,40384222,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40395906,1,number,40395906,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40396000,1,number,40396000,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40398434,1,number,40398434,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40400185,1,number,40400185,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40401841,1,number,40401841,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40513633,1,number,40513633,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40523972,1,number,40523972,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40529040,1,number,40529040,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40532870,1,number,40532870,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40536616,1,number,40536616,,,,,, /dataSources/providers/cas/sources/cas-shared-default~fs~Public,Public,9a380395-12d4-4278-8311-0fbd24d799ad,CATALOG_MICRO_NYCRESTAURANTS_200,7d9006dc-c118-e749-8be6-7bf5e8922d4e,CAMIS,1,bottomN,40553657,1,number,40553657,,,,,,
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /instances#upload:
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: uploadInstances
      summary: Upload instances metadata to CAS
      description: >
        Uploads resulting metadata for instances to CAS. The `level` query parameter indicates the level or degree of complexity of the metadata to return in the response. Each of the levels provides the returned metadata in different tabular structures.  Note that because this endpoint processes several kinds of operations, the application/json Content-Type header is not supported.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * description,
          * type,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy,
          * modifiedTimeStamp,
          * definition,
          * resourceId,
          * endpoint1Id, and
          * endpoint2Id
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.upload.request+json
        - name: Accept
          description: The desired representation for the response. The default is application/vnd.sas.metadata.instance.upload.request+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.upload.request+json
            default: application/vnd.sas.metadata.instance.upload.request+json
      requestBody:
        content:
          application/vnd.sas.metadata.instance.upload.request+json:
            schema:
              title: Instances Upload Request
              description: >
                A request to export metadata and upload to CAS. Options are available to specify the type and format of the metadata.
              type: object
              properties:
                version:
                  type: integer
                  description: The version of the media type.
                level:
                  description: The level or degree of complexity of metadata to be included.
                  type: string
                  format: enumeration
                  enum:
                    - dataDictionary
                    - dataDictionaryAndProfile
                    - detailedMetrics
                  default: dataDictionary
                prefix:
                  type: string
                  description: >
                    A consumer-provided prefix to include on any downloaded file name. Max length is 50 characters and can only contain alphanumeric characters, hyphen (-), or an underscore (_).
                dateTimeStampSuffix:
                  type: boolean
                  description: Indicates whether to include a date timestamp as a suffix on any downloaded file name. Defaults to true.
                  default: true
                serverName:
                  type: string
                  description: The name of the server to upload metadata.
                caslibName:
                  type: string
                  description: The name of the caslib to upload metadata.
                links:
                  type: array
                  description: The links that apply to the object. The value is ignored on input.
                  items:
                    $ref: "#/components/schemas/tag/properties/links/items"
                  readOnly: true
            examples:
              Instances Upload Request:
                summary: Instances Upload Request
                description: Upload request for results in data dictionary format.
                value:
                  level: dataDictionary
                  prefix: catalog
                  dateTimeStampSuffix: true
                  serverName: cas-shared-default
                  caslibName: Public
      responses:
        "201":
          description: Created.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
          content:
            application/vnd.sas.metadata.instance.upload.request+json:
              schema:
                $ref: "#/paths/~1instances%23upload/post/requestBody/content/application~1vnd.sas.metadata.instance.upload.request%2Bjson/schema"
              examples:
                Instances Upload:
                  $ref: "#/paths/~1instances%23upload/post/responses/201/content/application~1json/examples/Instances%20Upload"
            application/json:
              schema:
                $ref: "#/paths/~1instances%23upload/post/requestBody/content/application~1vnd.sas.metadata.instance.upload.request%2Bjson/schema"
              examples:
                Instances Upload:
                  summary: Instances Upload Response
                  description: Upload response for results in data dictionary format.
                  value:
                    level: dataDictionary
                    prefix: catalog
                    dateTimeStampSuffix: true
                    serverName: cas-shared-default
                    caslibName: Public
                    links:
                      - method: GET
                        rel: self
                        href: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/DMDICTIONARY_2023-09-05T000000Z
                        uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/DMDICTIONARY_2023-09-05T000000Z
                        type: application/vnd.sas.data.table
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/instances/{instanceId}":
    head:
      operationId: headersForInstance
      summary: Get the headers for an Instance with a specific Instance ID
      description: Get the headers for an instance with a specific ID.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1instances/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance+json
              - application/vnd.sas.summary+json
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
            default: application/vnd.sas.metadata.instance+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
    get:
      operationId: getInstance
      summary: Get an Instance with a specific Instance ID
      description: Get an instance with a specific ID.
      tags:
        - Instances
      parameters:
        - name: instanceId
          required: true
          description: The ID of the Instance
          in: path
          schema:
            type: string
        - $ref: "#/paths/~1instances/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance+json
              - application/vnd.sas.summary+json
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
            default: application/vnd.sas.metadata.instance+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.instance+json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
            application/vnd.sas.summary+json:
              schema:
                $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/schema"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/examples/Instance"
            application/vnd.sas.metadata.instance.entity+json:
              schema:
                $ref: "#/components/schemas/entity"
              examples:
                Entity Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.entity%2Bjson/examples/Entity%20Instance"
            application/vnd.sas.metadata.instance.classification+json:
              schema:
                $ref: "#/components/schemas/classification"
              examples:
                Classification Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.classification%2Bjson/examples/Classification%20Instance"
            application/vnd.sas.metadata.instance.relationship+json:
              schema:
                $ref: "#/components/schemas/relationship"
              examples:
                Relationship Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.relationship%2Bjson/examples/Relationship%20Instance"
            application/json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance Summary:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
    put:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: updateInstance
      summary: Update an Instance with a specific Instance ID
      description: Update an Instance with a specific Instance ID.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/put/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
        - name: Accept
          description: The desired representation for the response. The default is application/vnd.sas.metadata.instance+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance+json
              - application/vnd.sas.summary+json
              - application/vnd.sas.metadata.instance.entity+json
              - application/vnd.sas.metadata.instance.relationship+json
              - application/vnd.sas.metadata.instance.classification+json
              - application/json
            default: application/vnd.sas.metadata.instance+json
      requestBody:
        content:
          application/vnd.sas.metadata.instance.entity+json:
            schema:
              $ref: "#/components/schemas/entity"
            examples:
              Entity Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Entity%20Instance"
          application/vnd.sas.metadata.instance.classification+json:
            schema:
              $ref: "#/components/schemas/classification"
            examples:
              Classification Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Classification%20Instance"
          application/vnd.sas.metadata.instance.relationship+json:
            schema:
              $ref: "#/components/schemas/relationship"
            examples:
              Relationship Instance:
                $ref: "#/paths/~1instances/post/requestBody/content/application~1json/examples/Relationship%20Instance"
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.instance+json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
            application/vnd.sas.summary+json:
              schema:
                $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/schema"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/examples/Instance"
            application/vnd.sas.metadata.instance.entity+json:
              schema:
                $ref: "#/components/schemas/entity"
              examples:
                Entity Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.entity%2Bjson/examples/Entity%20Instance"
            application/vnd.sas.metadata.instance.classification+json:
              schema:
                $ref: "#/components/schemas/classification"
              examples:
                Classification Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.classification%2Bjson/examples/Classification%20Instance"
            application/vnd.sas.metadata.instance.relationship+json:
              schema:
                $ref: "#/components/schemas/relationship"
              examples:
                Relationship Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.relationship%2Bjson/examples/Relationship%20Instance"
            application/json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance Summary:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "412":
          $ref: "#/paths/~1tags~1%7BtagId%7D/put/responses/412"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
    delete:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: deleteInstance
      summary: Delete an Instance by its Instance ID
      description: Delete an Instance by its Instance ID.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/updates/instances/{instanceId}":
    patch:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: patchInstance
      summary: Manipulate individual properties on an instance using JSON Patch requests
      description: >
        Patch adds, updates, or removes properties on an instance.

        This endpoint currently only supports modifying entity instances; and only the following fields can be manipulated:
          - name
          - description
          - label
          - attributes. Only attributes defined on the type definition can be manipulated.

        In order to patch an instance, the principal performing the operation must have one of the capabilities associated with the type definition properties (name, label, or description) or the attribute(s) being modified. See the requiredCapability field in the type and attribute definition media types. If the property or attribute does not have an assigned capability, or the capability is not one possessed by the principal, then the patch operation fails with a 403 Forbidden error.

        All the operations in the patch request succeed or fail as a unit.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/put/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/json-patch+json
              - application/json
            default: application/json-patch+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.entity
              - application/vnd.sas.summary
              - application/vnd.sas.metadata.instance
              - application/json
            default: application/vnd.sas.metadata.instance.entity
      requestBody:
        content:
          application/json-patch:
            schema:
              type: array
              items:
                $ref: "#/components/schemas/patch"
            examples:
              Patch Entity:
                summary: Entity Patch Request
                description: Modify an entity instance.
                value:
                  - op: add
                    path: /attributes/reviewStatus
                    value: approved
                  - op: remove
                    path: /description
      responses:
        "200":
          description: The request succeeded, and the has been updated.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.instance.entity+json:
              schema:
                $ref: "#/components/schemas/entity"
              examples:
                Entity Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.metadata.instance.entity%2Bjson/examples/Entity%20Instance"
            application/vnd.sas.metadata.instance+json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
            application/vnd.sas.summary+json:
              schema:
                $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/schema"
              examples:
                Instance:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/examples/Instance"
            application/json:
              schema:
                $ref: "#/components/schemas/instance"
              examples:
                Instance Summary:
                  $ref: "#/paths/~1instances/post/responses/201/content/application~1json/examples/Instance%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "412":
          $ref: "#/paths/~1tags~1%7BtagId%7D/put/responses/412"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
  "/instances/{instanceId}/history":
    head:
      operationId: headersForEntityHistory
      summary: Get the headers for current and previous revisions of an entity Instance
      description: >
        Returns the headers for current and previous revisions of an entity instance; the endpoint is undefined for other kinds of instances.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.entity+json
              - application/json
            default: application/vnd.sas.metadata.instance.entity+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getEntityHistory
      summary: Get current and previous revisions of an entity Instance
      description: >
        Returns current and previous revisions of an entity instance; the endpoint is undefined for other kinds of instances. This collection does not support filtering or sorting; but it does support pagination controls. Elements are sorted based on their descending modification timestamp; the current revision is at the top of the list. Elements in the collection cannot be modified via the REST API.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.entity+json
              - application/json
            default: application/vnd.sas.metadata.instance.entity+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/instanceCollection"
              examples:
                Instance Collection:
                  $ref: "#/paths/~1instances~1%7BinstanceId%7D~1history/get/responses/200/content/application~1json/examples/Instance%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/instanceCollection"
              examples:
                Instance Collection:
                  summary: Entity History Response
                  description: >
                    A collection of the current and previous revisions of an entity. For this example, there are no previous revisions.\

                    Note that links are not provided for the objects in this collection.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.instance.entity
                    count: 1
                    start: 0
                    limit: 10
                    name: history
                    items:
                      - creationTimeStamp: 2021-10-04T12:27:29.317Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-10-04T12:27:29.317Z
                        modifiedBy: sasuser
                        id: 965ce303-33b3-924f-9144-f30d09b6576a
                        version: 1
                        instanceType: entity
                        definition: sasTable
                        name: AACOMP
                        type: sasTable
                        links:
                          - method: GET
                            rel: historyArchive
                            href: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history/965ce303-33b3-924f-9144-f30d09b6576a
                            uri: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history/965ce303-33b3-924f-9144-f30d09b6576a
                            type: application/vnd.sas.metadata.instance.archive
                            responseType: application/vnd.sas.metadata.instance.archive
                        attributes:
                          analysisTimeStamp: 2021-10-04T12:27:26.331Z
                          columnCount: 4
                          completenessPercent: 100
                          creator: sas
                          dataLocale: ENUSA
                          dataSize: 458752
                          dateCreated: 2021-09-28T08:03:09.972Z
                          dateModified: 2021-09-28T08:03:09.972Z
                          encoding: us-ascii  ASCII (ANSI)
                          extension: sas7bdat
                          informationPrivacy: private
                          isView: false
                          reviewStatus: none
                          rowCount: 2020
                          runStatus: new
                          sourceSystem: SAS
                        resourceId: /dataTables/dataSources/Compute~fs~c4785dba-e8f7-452b-881e-55379dc53f44~fs~SASHELP/tables/AACOMP
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history?start=0&limit=10
                        uri: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history?start=0&limit=10
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: collection
                        href: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history
                        uri: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.instance.entity
                      - method: GET
                        rel: up
                        href: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a
                        uri: /catalog/instances/965ce303-33b3-924f-9144-f30d09b6576a
                        type: application/vnd.sas.metadata.instance.entity+json
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  "/instances/{instanceId}/history/{historyId}":
    head:
      operationId: headersForHistoryArchive
      summary: Get the headers for an archive of an entity's history with related objects
      description: >
        Returns the headers for an archive of entities and relationships corresponding to a history record for an entity. The limits of the network described by the archive are determined by the view associated with the instance (if specified) or the type definition (if specified). If no history policy or view is associated with the entity, then an archive consisting of the current entity's representation is returned.
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D~1history~1%7BhistoryId%7D/get/parameters/1"
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.instance.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.archive+json
              - application/json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getHistoryArchive
      summary: Get an archive of an entity's history with related objects
      description: >
        Returns an archive of entities and relationships corresponding to a history record for an entity. The limits of the network described by the archive are determined by the view associated with the instance (if specified) or the type definition (if specified). If no history policy or view is associated with the entity, then an archive consisting of the current entity's representation is returned.

        Each element has a link for its type definition; entities may also provide a link to its resource (which may not be in the same state it had when the history record was originally created).
      tags:
        - Instances
      parameters:
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
        - name: historyId
          in: path
          required: true
          description: The ID of a historical record of an entity
          schema:
            type: string
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.instance.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.instance.archive+json
              - application/json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.instance.archive+json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                Instance Archive:
                  $ref: "#/paths/~1instances~1%7BinstanceId%7D~1history~1%7BhistoryId%7D/get/responses/200/content/application~1json/examples/History%20Archive"
            application/json:
              schema:
                $ref: "#/components/schemas/instanceArchive"
              examples:
                History Archive:
                  summary: Instance History Archive Response
                  description: An archive response contains historical records of an entity and its relationships
                  value:
                    version: 1
                    entities:
                      - creationTimeStamp: 2021-10-04T13:50:48.448Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-10-04T13:50:48.448Z
                        modifiedBy: sasuser
                        id: 22916db5-01c8-dc40-8f83-9a384f518abd
                        links:
                          - method: GET
                            rel: definition
                            href: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            uri: /catalog/definitions/02b7102c-e997-465d-9f41-2491c3a4f05b
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: resource
                            href: /dataTables/dataSources/Compute~fs~7b90bc1d-f019-48e3-926b-f4ad10b00779~fs~SASUSER/tables/CARS
                            uri: /dataTables/dataSources/Compute~fs~7b90bc1d-f019-48e3-926b-f4ad10b00779~fs~SASUSER/tables/CARS
                            type: application/json
                        version: 1
                        instanceType: entity
                        definition: sasTable
                        name: CARS
                        label: 2004 Car Data
                        type: sasTable
                        attributes:
                          analysisTimeStamp: 2021-06-12T13:48:48.995Z
                          columnCount: 15
                          completenessPercent: 99.968847352
                          creator: sasuser
                          dataLocale: ENUSA
                          dataSize: 196608
                          dateCreated: 2019-11-05T02:09:55.805Z
                          dateModified: 2019-11-05T02:09:55.805Z
                          encoding: us-ascii  ASCII (ANSI)
                          extension: sas7bdat
                          informationPrivacy: candidate
                          isView: false
                          reviewStatus: none
                          rowCount: 428
                          sourceSystem: SAS
                        resourceId: /dataTables/dataSources/Compute~fs~7b90bc1d-f019-48e3-926b-f4ad10b00779~fs~SASUSER/tables/CARS
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  "/instances/{instanceId}/businessDescription":
    head:
      operationId: headersForBusinessDescription
      summary: Get the headers for an auto-generated business description
      description: Given an instance ID for a dataset, get the headers for a description for that dataset. The dataset must have a subtype such as CAStable or SASTable. Date formats will default to en-US if the Accept-Language header is not specified or a non-supported language.
      tags:
        - Instances
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is text/plain.
          in: header
          schema:
            type: string
            enum:
              - text/plain
              - text/html
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D~1businessDescription/get/parameters/1"
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D~1businessDescription/get/parameters/2"
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getBusinessDescription
      summary: Get an auto-generated business description
      description: Given an instance ID for a dataset generate a description for that dataset. The dataset must have a subtype such as CAStable or SASTable. Date formats will default to en-US if the Accept-Language header is not specified or a non-supported language.
      tags:
        - Instances
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is text/plain.
          in: header
          schema:
            type: string
            enum:
              - text/plain
              - text/html
        - name: region
          required: false
          description: The region code to use for formatting dates in the description
          in: query
          schema:
            type: string
        - name: suppressMostImportantColumns
          required: false
          description: Set to true to suppress the "most important columns" aspect of the description. Defaults to false.
          in: query
          schema:
            type: boolean
        - $ref: "#/paths/~1instances~1%7BinstanceId%7D/get/parameters/0"
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            text/plain:
              schema:
                type: string
              example: >
                This dataset contains information about health. This dataset contains information about the following entities: individual.

                This dataset contains information from multiple city and state locations.

                The most important columns are date.

                The storage format is ORC.

                The frequency of observations is yearly. The data was collected on 4/19/22.

                The data contains outliers and has values that could be considered private.
            text/html:
              schema:
                type: string
              example: >
                This dataset contains information about health. This dataset contains information about the following entities: <b>individual</b>.

                This dataset contains information from multiple <b>city</b> and <b>state</b> locations.

                The most important columns are <b>date</b>.

                The storage format is <b>ORC</b>.

                The frequency of observations is <b>yearly</b>. The data was collected on <b>4/19/22</b>.

                The data contains outliers and has values that could be considered <b>private</b>.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /tags:
    get:
      operationId: getTags
      summary: Get Tags
      description: >
        Returns a list of tags.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy, and
          * modifiedTimeStamp

        The properties that can be used only as filter critiera are:
          * members.resources.id
      tags:
        - Tags
      parameters:
        - name: start
          in: query
          description: 0-based Offset of first object to return.  Defaults to 0.
          schema:
            type: integer
        - name: limit
          in: query
          description: Maximum number of objects to return.  Defaults to 10.
          schema:
            type: integer
        - name: filter
          in: query
          description: Filter criteria for returned objects. See [Filtering in REST APIs](https://developer.sas.com/rest-apis/catalog/docs/getting-started/usage-notes#filtering).
          schema:
            type: string
            format: filter-criteria
        - name: sortBy
          in: query
          description: Sort returned objects. See [Sorting in REST APIs](https://developer.sas.com/rest-apis/catalog/docs/getting-started/usage-notes#sorting).
          schema:
            type: string
            format: sort-criteria
        - name: memberLimit
          in: query
          description: Maximum number of tag member objects to return.  Defaults to 10.
          schema:
            type: integer
            default: 10
        - name: memberFilter
          in: query
          description: >
            Filter criteria for returned tag member objects. See [Filtering in REST APIs](https://developer.sas.com/rest-apis/catalog/docs/getting-started/usage-notes#filtering).

            The entity instance properties that can be used as filter criteria are:
              * id,
              * name,
              * label,
              * description,
              * type,
              * createdBy,
              * creationTimeStamp,
              * modifiedBy, and
              * modifiedTimeStamp
          schema:
            type: string
            format: filter-criteria
        - name: Accept
          in: header
          description: The desired representation for the response.
          schema:
            type: string
            enum:
              - application/vnd.sas.collection+json
              - application/json
            default: application/vnd.sas.collection+json
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag.summary+json
              - application/vnd.sas.metadata.tag+json
              - application/json
            default: application/vnd.sas.metadata.tag.summary+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/tagCollection"
              examples:
                Tag Summary Collection:
                  $ref: "#/paths/~1tags/get/responses/200/content/application~1json/examples/Tag%20Summary%20Collection"
                Tag Summary Collection with filter:
                  $ref: "#/paths/~1tags/get/responses/200/content/application~1json/examples/Tag%20Summary%20Collection%20with%20filter"
                Tag Collection:
                  $ref: "#/paths/~1tags/get/responses/200/content/application~1json/examples/Tag%20Collection"
                Tag Collection with member filter:
                  $ref: "#/paths/~1tags/get/responses/200/content/application~1json/examples/Tag%20Collection%20with%20member%20filter"
            application/json:
              schema:
                $ref: "#/components/schemas/tagCollection"
              examples:
                Tag Summary Collection:
                  summary: Tag Summary Collection
                  description: A list of tag summaries.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.tag.summary
                    count: 1
                    start: 0
                    limit: 10
                    name: tags
                    items:
                      - creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-13T00:00:00Z
                        modifiedBy: sasuser
                        id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        version: 1
                        name: Sales
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags?start=0&limit=10&sortBy=name
                        uri: /catalog/tags?start=0&limit=10&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: collection
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                Tag Summary Collection with filter:
                  summary: Filtered Tag Summary Collection
                  description: A list of tag summaries filtered by a set of resource IDs.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.tag.summary
                    count: 1
                    start: 0
                    limit: 10
                    name: tags
                    items:
                      - creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-13T00:00:00Z
                        modifiedBy: sasuser
                        id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        version: 1
                        name: Sales
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags?start=0&limit=10&filter=in%28members.resources.id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%2C+%2291411bc6-a921-e443-80f0-c89c9c9216e6%22%29&sortBy=name
                        uri: /catalog/tags?start=0&limit=10&filter=in%28members.resources.id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%2C+%2291411bc6-a921-e443-80f0-c89c9c9216e6%22%29&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: collection
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                Tag Collection:
                  summary: Tag Collection
                  description: A list of tags.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.tag
                    count: 1
                    start: 0
                    limit: 10
                    name: tags
                    items:
                      - creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-13T00:00:00Z
                        modifiedBy: sasuser
                        id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        version: 1
                        name: Sales
                        members:
                          version: 1
                          type: id
                          template: /catalog/instances/{id}
                          resources:
                            - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            - 91411bc6-a921-e443-80f0-c89c9c9216e6
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags?start=0&limit=10&sortBy=name
                        uri: /catalog/tags?start=0&limit=10&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag
                      - method: GET
                        rel: collection
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                Tag Collection with member filter:
                  summary: Tag Collection
                  description: >
                    A list of tags with members filtered by `eq(id, 'b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf')` filter criteria.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.tag
                    count: 1
                    start: 0
                    limit: 10
                    name: tags
                    items:
                      - creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-13T00:00:00Z
                        modifiedBy: sasuser
                        id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        version: 1
                        name: Sales
                        members:
                          version: 1
                          type: id
                          template: /catalog/instances/{id}
                          resources:
                            - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags?start=0&limit=10&sortBy=name&memberFilter=eq%28id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%29
                        uri: /catalog/tags?start=0&limit=10&sortBy=name&memberFilter=eq%28id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%29
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag
                      - method: GET
                        rel: collection
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
        "400":
          description: Bad request (the request is not well-formed).
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Bad Request:
                  summary: Error - Bad Request
                  description: >
                    The request could not be processed. When available, the error

                    response will contain additional details.
                  value:
                    version: 2
                    httpStatusCode: 400
                    errorCode: 100139
                    message: Bad Request
                    details: The request body could not be processed.
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          description: The user does not have permission to complete this request.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Not Found:
                  summary: Error - Forbidden
                  description: The user does not have permission to complete this request.
                  value:
                    version: 2
                    httpStatusCode: 403
                    message: Forbidden
                    details: Unauthorized
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: createTag
      summary: Create a tag
      description: >
        Create a tag with the given content.

        If the user does not have the appropriate authorization to create tags and for the members to be added to the given tag then the create operation fails with a 403 Forbidden error.
      tags:
        - Tags
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag+json
              - application/vnd.sas.metadata.tag.summary+json
              - application/json
            default: application/vnd.sas.metadata.tag+json
      requestBody:
        content:
          application/vnd.sas.metadata.tag+json:
            schema:
              $ref: "#/components/schemas/tag"
            examples:
              Tag:
                $ref: "#/paths/~1tags/post/requestBody/content/application~1json/examples/Tag"
          application/json:
            schema:
              $ref: "#/components/schemas/tag"
            examples:
              Tag:
                summary: Tag
                description: A Tag.
                value:
                  id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                  name: Sales
                  members:
                    version: 1
                    type: id
                    template: /catalog/instances/{id}
                    resources:
                      - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                      - 91411bc6-a921-e443-80f0-c89c9c9216e6
      responses:
        "201":
          description: >
            Created. The tag has been created.
          headers:
            Location:
              description: location of the created object.
              schema:
                type: string
            ETag:
              description: A tag that identifies this revision of the object.
              schema:
                type: string
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.tag+json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1json/examples/Tag"
            application/vnd.sas.metadata.tag.summary+json:
              schema:
                title: Tag
                description: Information about a tag
                type: object
                required:
                  - id
                  - name
                properties:
                  id:
                    type: string
                    description: The unique identifier of this tag. Immutable after creation.
                  name:
                    type: string
                    description: The name of the tag; the maximum length is 100.
                  creationTimeStamp:
                    type: string
                    description: The date and time this object was created, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
                    format: date-time
                    readOnly: true
                  modifiedTimeStamp:
                    type: string
                    description: The date and time this object was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
                    format: date-time
                    readOnly: true
                  createdBy:
                    type: string
                    description: The identity that created this object. The value is ignored on input.
                    readOnly: true
                  modifiedBy:
                    type: string
                    description: The identity that modified this object last. The value is ignored on input.
                    readOnly: true
                  version:
                    type: integer
                    description: The version of the media type.
                    readOnly: true
                  links:
                    type: array
                    description: The links that apply to the tag.
                    items:
                      $ref: "#/components/schemas/tag/properties/links/items"
              examples:
                Tag:
                  summary: Tag Summary
                  description: Tag Summary is a lightweight representation providing basic information about a tag.
                  value:
                    creationTimeStamp: 2021-04-13T00:00:00Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-04-13T00:00:00Z
                    modifiedBy: sasuser
                    id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        type: application/vnd.sas.metadata.tag
                      - method: GET
                        rel: up
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: PUT
                        rel: update
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                      - method: DELETE
                        rel: delete
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    version: 1
                    name: Sales
            application/json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  summary: Tag
                  description: A Tag
                  value:
                    creationTimeStamp: 2021-04-13T00:00:00Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-04-13T00:00:00Z
                    modifiedBy: sasuser
                    id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e?memberStart=0&memberLimit=2147483647
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e?memberStart=0&memberLimit=2147483647
                        type: application/vnd.sas.metadata.tag
                      - method: GET
                        rel: up
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: PUT
                        rel: update
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                      - method: DELETE
                        rel: delete
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    version: 1
                    name: Sales
                    members:
                      version: 1
                      type: id
                      template: /catalog/instances/{id}
                      resources:
                        - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                        - 91411bc6-a921-e443-80f0-c89c9c9216e6
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
    patch:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: patchTags
      summary: Patch tags
      description: >
        For each given tag, performs a set of actions as specified in a JSON Patch. These actions are performed synchronously and transactionally.

        For every action, the patch must specify an operation (add or remove) and a target URI (for example, /members/resources or, empty to create a new tag). Each operation requires a valid representation for the value. If the operation removes all tag members from a given tag then the tag will be deleted.

        This endpoint currently supports adding entire Tag resources, but only supports the manipulation of the following Tag fields:
          - name (add only)
          - members (add only)
          - members.resources
      tags:
        - Tags
      parameters:
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.patch.archive+json
              - application/json
            default: application/vnd.sas.metadata.patch.archive+json
        - name: onConflict
          description: >
            Specifies how to handle tags in the body with ids that already exist.  If "update" is specified, those tags are updated.  Otherwise, those tags are not updated and a 409 Conflict error is returned for each one.
          in: query
          schema:
            type: string
            enum:
              - update
              - ignore
            default: ignore
        - name: If-Unmodified-Since
          description: >
            The time after which any tags updated by this call cannot have been updated; a 412 (Precondition Failed) error will be returned for each tag that has been modified after this time.

            The value must use the RFC 1123 time format (e.g. Fri, 01 Jan 1960 00:00:00 GMT); if an invalid value is specified, a 400 (Bad Request) error will be returned for each tag that already exists.

            This value is required if the call wil update any existing tags, and ignored if the call will only create new tags; if this value is omitted, a 428 (Precondition Required) error will be returned for each tag that already exists.
          in: header
          schema:
            type: string
      requestBody:
        content:
          application/vnd.sas.metadata.patch.archive+json:
            schema:
              $ref: "#/components/schemas/tagPatchArchive"
            examples:
              Patch Tag:
                $ref: "#/paths/~1tags/patch/requestBody/content/application~1json/examples/Patch%20Tag"
          application/json:
            schema:
              $ref: "#/components/schemas/tagPatchArchive"
            examples:
              Patch Tag:
                summary: Tag Patch Request
                description: >
                  The example displays the different type of operations that can be performed on Tag resources with the PATCH request. The request supports the ability to create a new Tag resource, to overwrite the `members` property of a Tag resource, to add or remove `resources` from the `members` property, and lastly to delete a Tag resource. Furthermore, multiple patch operations can be performed on a single Tag resource within a request.
                value:
                  tags:
                    a56ce67a-54e0-44e4-bce2-2398a8b27b2e:
                      - op: add
                        path: ""
                        value:
                          id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                          name: Sales
                          members:
                            version: 1
                            type: id
                            template: /catalog/instances/{id}
                            resources:
                              - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                              - 91411bc6-a921-e443-80f0-c89c9c9216e6
                    ed5b3359-1514-4ac5-9638-2014b398cb56:
                      - op: add
                        path: /members
                        value:
                          id: ed5b3359-1514-4ac5-9638-2014b398cb56
                          name: Invoices
                          members:
                            version: 1
                            type: mixed
                            template: /catalog/instances/{id}
                            resources:
                              - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                              - /catalog/instances/91411bc6-a921-e443-80f0-c89c9c9216e6
                    491d80b5-f49f-4fc4-b7ea-3aabccb98ed6:
                      - op: remove
                        path: /members/resources
                        value: 91411bc6-a921-e443-80f0-c89c9c9216e6
                      - op: add
                        path: /members/resources
                        value: 91411bc6-a921-e443-80f0-c89c9c9216e6
      responses:
        "200":
          description: >
            The request succeeded, and the content contained no tags or at least

            one tag was created or updated successfully.  If at least one operation

            succeeded, errors for individual tags are returned in the response body

            and do not result in an error status for the whole response.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Last-Modified:
              description: The time stamp in `EEE, dd MMM yyyy HH:mm:ss GMT` format when the object was last modified.
              schema:
                type: string
          content:
            application/vnd.sas.metadata.patch.archive+json:
              schema:
                $ref: "#/paths/~1tags/patch/responses/200/content/application~1json/schema"
              examples:
                Tag Archive:
                  $ref: "#/paths/~1tags/patch/responses/200/content/application~1json/examples/Tag%20Archive"
            application/json:
              schema:
                title: Tag Patch Archive Response
                description: Archive of Tags and/or errors resulting from a set of patch operations.
                type: object
                properties:
                  version:
                    type: integer
                    description: The version of the media type.
                    readOnly: true
                  tags:
                    type: object
                    description: >
                      The results of applying JSON Patch operations to Tags. They key is the ID of the tag the operations were performed on.
                    additionalProperties:
                      anyOf:
                        - $ref: "#/components/schemas/tag"
                        - $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Tag Archive:
                  summary: Tag Reponse Archive
                  description: A list of patched tags.
                  value:
                    version: 1
                    tags:
                      a56ce67a-54e0-44e4-bce2-2398a8b27b2e:
                        creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-13T00:00:00Z
                        modifiedBy: sasuser
                        id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                            uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        version: 1
                        name: Sales
                        members:
                          version: 1
                          type: id
                          template: /catalog/instances/{id}
                          resources:
                            - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            - 91411bc6-a921-e443-80f0-c89c9c9216e6
                      ed5b3359-1514-4ac5-9638-2014b398cb56:
                        creationTimeStamp: 2021-04-13T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-16T00:00:00Z
                        modifiedBy: sasuser
                        id: ed5b3359-1514-4ac5-9638-2014b398cb56
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            uri: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            uri: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            uri: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                            uri: /catalog/tags/ed5b3359-1514-4ac5-9638-2014b398cb56
                        version: 1
                        name: Human Resources
                        members:
                          version: 1
                          type: id
                          template: /catalog/instances/{id}
                          resources:
                            - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            - 91411bc6-a921-e443-80f0-c89c9c9216e6
                      491d80b5-f49f-4fc4-b7ea-3aabccb98ed6:
                        creationTimeStamp: 2021-04-01T00:00:00Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-04-16T00:00:00Z
                        modifiedBy: sasuser
                        id: 491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            uri: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            type: application/vnd.sas.metadata.tag
                          - method: GET
                            rel: alternate
                            href: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            uri: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            type: application/vnd.sas.metadata.tag.summary
                          - method: GET
                            rel: up
                            href: /catalog/tags
                            uri: /catalog/tags
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.tag.summary
                          - method: PUT
                            rel: update
                            href: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            uri: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            type: application/vnd.sas.metadata.tag
                            responseType: application/vnd.sas.metadata.tag
                          - method: DELETE
                            rel: delete
                            href: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                            uri: /catalog/tags/491d80b5-f49f-4fc4-b7ea-3aabccb98ed6
                        version: 1
                        name: Marketing
                        members:
                          version: 1
                          type: id
                          template: /catalog/instances/{id}
                          resources:
                            - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
                            - 91411bc6-a921-e443-80f0-c89c9c9216e6
        "400":
          description: >
            Bad request; either the request is not well-formed, or all individual

            operations failed.  In the latter case, the response body is an object

            containing the errors as described above for a successful request; the

            response code is 400 if all operation status codes are not the same, or

            the shared status code if they are the same.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              examples:
                Response Map:
                  summary: Response Map
                  description: A map from object ids to the individual errors for each object's operation.
                  value:
                    2aca0426-156e-4387-a465-3cd4b57e1865:
                      version: 2
                      httpStatusCode: 404
                      message: Not Found
                      details: No object was found with the ID "2aca0426-156e-4387-a465-3cd4b57e1865".
                    8f7d9ec1-4656-4b7e-ab6e-c9fec2078696:
                      version: 2
                      httpStatusCode: 409
                      message: Conflict
                      details: >
                        An object with the ID "8f7d9ec1-4656-4b7e-ab6e-c9fec2078696" already exists. Omit the ID to generate one automatically, or specify a different ID.
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          description: The specified resource was not found.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Not Found:
                  summary: Error - Not Found
                  description: The specified resource was not found.
                  value:
                    version: 2
                    httpStatusCode: 404
                    message: Not Found
                    details: No object was found with the ID "2b647d99-60f4-4252-adea-8ea2bd35974c".
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "412":
          description: Precondition failed. The target has changed since it was last fetched.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Precondition Failed:
                  summary: Error - Precondition Failed
                  description: The object has changed since it was last fetched.
                  value:
                    version: 2
                    httpStatusCode: 412
                    message: >
                      This object has been updated since the time specified in the \"If-Unmodified-Since\" header.
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          description: Precondition required. Include an If-Match header with the request.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Precondition Required:
                  summary: Error - Precondition Required
                  description: An If-Match header is required for this request.
                  value:
                    version: 2
                    httpStatusCode: 428
                    message: The header field "If-Match" is missing or does not have a value.
                    remediation: Specify the resource's entity tag.
  "/tags/{tagId}":
    head:
      operationId: headersForTag
      summary: Get the headers for a tag by its ID
      description: Get the headers for a tag by its ID
      tags:
        - Tags
      parameters:
        - $ref: "#/paths/~1tags~1%7BtagId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/4"
        - $ref: "#/paths/~1tags/get/parameters/5"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag+json
              - application/vnd.sas.metadata.tag.summary+json
              - application/json
            default: application/vnd.sas.metadata.tag+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
    get:
      operationId: getTag
      summary: Get a tag by its ID
      description: Get a tag by its ID
      tags:
        - Tags
      parameters:
        - name: tagId
          required: true
          description: The ID of the Tag
          in: path
          schema:
            type: string
        - name: memberStart
          in: query
          description: 0-based Offset of first tag member object to return.  Defaults to 0.
          schema:
            type: integer
        - $ref: "#/paths/~1tags/get/parameters/4"
        - $ref: "#/paths/~1tags/get/parameters/5"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag+json
              - application/vnd.sas.metadata.tag.summary+json
              - application/json
            default: application/vnd.sas.metadata.tag+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.tag+json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1json/examples/Tag"
                Tag with member filter:
                  $ref: "#/paths/~1tags~1%7BtagId%7D/get/responses/200/content/application~1json/examples/Tag%20with%20member%20filter"
            application/vnd.sas.metadata.tag.summary+json:
              schema:
                $ref: "#/paths/~1tags/post/responses/201/content/application~1vnd.sas.metadata.tag.summary%2Bjson/schema"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1vnd.sas.metadata.tag.summary%2Bjson/examples/Tag"
            application/json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1json/examples/Tag"
                Tag with member filter:
                  summary: Tag
                  description: >
                    A Tag with members filtered by `eq(id, 'b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf')` filter criteria.
                  value:
                    creationTimeStamp: 2021-04-13T00:00:00Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-04-13T00:00:00Z
                    modifiedBy: sasuser
                    id: a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e?memberFilter=eq%28id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%29
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e?memberFilter=eq%28id%2C+%22b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf%22%29
                        type: application/vnd.sas.metadata.tag
                      - method: GET
                        rel: up
                        href: /catalog/tags
                        uri: /catalog/tags
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.tag.summary
                      - method: PUT
                        rel: update
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        type: application/vnd.sas.metadata.tag
                        responseType: application/vnd.sas.metadata.tag
                      - method: DELETE
                        rel: delete
                        href: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                        uri: /catalog/tags/a56ce67a-54e0-44e4-bce2-2398a8b27b2e
                    version: 1
                    name: Sales
                    members:
                      version: 1
                      type: id
                      template: /catalog/instances/{id}
                      resources:
                        - b7a9f8f7-e939-2f4d-bb4b-b6740702f2bf
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
    put:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: updateTag
      summary: Update a Tag by its ID
      description: >
        Update a Tag by its ID.

        If the user does not have the appropriate authorization for the given tag and both the existing and updated members of the given tag then the update operation fails with a 403 Forbidden error.

        If the update operation removes all tag members from a given tag then the tag will be deleted and a 204 response returned.
      tags:
        - Tags
      parameters:
        - $ref: "#/paths/~1tags~1%7BtagId%7D/get/parameters/0"
        - name: If-Match
          in: header
          description: The ETag that was returned from a GET, POST, PUT, PATCH, or HEAD of this object.  If the ETag does not match, the update will fail.
          required: true
          schema:
            type: string
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag+json
              - application/json
            default: application/vnd.sas.metadata.tag+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.tag+json
              - application/vnd.sas.metadata.tag.summary+json
              - application/json
            default: application/vnd.sas.metadata.tag+json
      requestBody:
        content:
          application/vnd.sas.metadata.tag+json:
            schema:
              $ref: "#/components/schemas/tag"
            examples:
              Tag:
                $ref: "#/paths/~1tags/post/requestBody/content/application~1json/examples/Tag"
          application/json:
            schema:
              $ref: "#/components/schemas/tag"
            examples:
              Tag:
                $ref: "#/paths/~1tags/post/requestBody/content/application~1json/examples/Tag"
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.tag+json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1json/examples/Tag"
            application/vnd.sas.metadata.tag.summary+json:
              schema:
                $ref: "#/paths/~1tags/post/responses/201/content/application~1vnd.sas.metadata.tag.summary%2Bjson/schema"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1vnd.sas.metadata.tag.summary%2Bjson/examples/Tag"
            application/json:
              schema:
                $ref: "#/components/schemas/tag"
              examples:
                Tag:
                  $ref: "#/paths/~1tags/post/responses/201/content/application~1json/examples/Tag"
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "412":
          description: Precondition failed. The target has changed since it was last fetched.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Precondition Failed:
                  summary: Error - Precondition Failed
                  description: The object has changed since it was last fetched.
                  value:
                    version: 2
                    httpStatusCode: 412
                    message: >
                      The header field "If-Match" has a value that is different from

                      the entity tag for the resource. (The specified values are

                      "W/"1668615996285000000"" and "W/"1668802105130000000"",

                      respectively.)
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
    delete:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: deleteTag
      summary: Delete a Tag by its ID
      description: Delete a Tag by its ID.
      tags:
        - Tags
      parameters:
        - $ref: "#/paths/~1tags~1%7BtagId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
  /definitions:
    get:
      operationId: getTypeDefinitions
      summary: Get Type Definitions
      description: >
        Returns a list of type definitions.

        The collection may contain different kinds of type definitions (e.g. attribute, classification, entity, and relationship type definitions); the 'definitionType' field can be used to determine the type.

        The kind of type definitions in the collection can also be controlled via the 'Accept-Item' header.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * description,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy, and
          * modifiedTimeStamp.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - name: includeInheritedAttributes
          required: false
          description: Indicates whether to display inherited attributes in response. Defaults to false.
          in: query
          schema:
            type: string
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections; the default is application/vnd.sas.metadata.definition.summary+json, which can return heterogeneous type definitions in the collection. Specifying a particular kind of type definition ensures only that kind will appear in the collection.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.summary+json
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
            default: application/vnd.sas.metadata.definition.summary+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionCollection"
              examples:
                Type Definition Collection:
                  $ref: "#/paths/~1definitions/get/responses/200/content/application~1json/examples/Type%20Definition%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionCollection"
              examples:
                Type Definition Collection:
                  summary: Type Definition Collection
                  description: A collection of type definitions. The example is a heterogeneous list of type definitions, so the representation of the items in the list are all type definition summaries.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.definition.summary
                    count: 4
                    start: 0
                    limit: 10
                    name: definitions
                    items:
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2021-01-19T00:00:00Z
                        id: de367483-2d27-4ad9-be56-31043dae8525
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.summary
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.entity
                            responseType: application/vnd.sas.metadata.definition.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        version: 1
                        definitionType: entity
                        name: asset
                        label: Asset
                        description: The asset object all metadata objects inherit from.
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2021-01-19T00:00:00Z
                        id: 55212128-3647-472a-9fd0-dc19d9731c19
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.summary
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        version: 1
                        definitionType: relationship
                        name: relatedObjects
                        label: Entity to related entity
                        description: Entity to a related entity without specific relationship knowledge.
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2021-01-19T00:00:00Z
                        id: 7f2d115f-6713-4c71-8fea-08beefb34dbb
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.classification
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.summary
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.classification
                            responseType: application/vnd.sas.metadata.definition.classification
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        version: 1
                        definitionType: classification
                        name: retention
                        label: Retention
                        description: Defines the retention requirements for related data items.
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2021-01-19T00:00:00Z
                        id: 9e771b12-ace3-4b8a-bce0-b7d99852a213
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.attribute
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.summary
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.attribute
                            responseType: application/vnd.sas.metadata.definition.attribute
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        version: 1
                        definitionType: attribute
                        name: string
                        label: String
                        description: Attribute type to represent string values
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions?start=0&limit=10&filter=or%28eq%28id%2C%279e771b12-ace3-4b8a-bce0-b7d99852a213%27%29%2Ceq%28id%2C%27de367483-2d27-4ad9-be56-31043dae8525%27%29%2Ceq%28id%2C%277f2d115f-6713-4c71-8fea-08beefb34dbb%27%29%2Ceq%28id%2C%2755212128-3647-472a-9fd0-dc19d9731c19%27%29%29&sortBy=name
                        uri: /catalog/definitions?start=0&limit=10&filter=or%28eq%28id%2C%279e771b12-ace3-4b8a-bce0-b7d99852a213%27%29%2Ceq%28id%2C%27de367483-2d27-4ad9-be56-31043dae8525%27%29%2Ceq%28id%2C%277f2d115f-6713-4c71-8fea-08beefb34dbb%27%29%2Ceq%28id%2C%2755212128-3647-472a-9fd0-dc19d9731c19%27%29%29&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                      - method: GET
                        rel: collection
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.metadata.definition.summary
                        responseType: application/vnd.sas.metadata.definition.summary
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
    post:
      operationId: createTypeDefinition
      summary: Create a Type Definition
      description: Create a Type Definition with the given content.
      tags:
        - Type Definitions
      parameters:
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.summary+json
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
            default: application/vnd.sas.metadata.definition.summary+json
      requestBody:
        content:
          application/vnd.sas.metadata.definition.attribute+json:
            schema:
              $ref: "#/components/schemas/attributeTypeDefinition"
            examples:
              Attribute Type Definition:
                summary: Attribute Type Definition
                description: An attribute type definition.
                value:
                  version: 2
                  definitionType: attribute
                  name: string
                  label: String
                  description: Attribute type to represent string values
                  attributeDefinitions:
                    format:
                      name: format
                      label: Format
                      description: The format type of the string value in use cases where defined.
                      type: primitive_string
                    pattern:
                      name: pattern
                      label: Pattern
                      description: The regular expression format of the string value in use cases where defined.
                      type: primitive_string
                    maxLength:
                      name: maxLength
                      label: Maximum Length
                      description: The required maximum length of the string value in use cases where defined.
                      type: primitive_integer
                    minLength:
                      name: minLength
                      label: Minimum Length
                      description: The required minimum length of the string value in use cases where defined.
                      type: primitive_integer
                  attributeKind: PRIMITIVE
          application/vnd.sas.metadata.definition.classification+json:
            schema:
              $ref: "#/components/schemas/classificationTypeDefinition"
            examples:
              Classification Type Definition:
                summary: Classification Type Definition
                description: A Classification Type Definition.
                value:
                  version: 2
                  definitionType: classification
                  name: retention
                  label: Retention
                  description: Defines the retention requirements for related data items.
                  attributeDefinitions:
                    basis:
                      name: basis
                      label: Basis
                      description: Basis on which the retention period is defined.
                      type: retention_basis
                    confidence:
                      name: confidence
                      label: Confidence
                      description: Level of confidence in the classification.
                      type: confidence_level
                    status:
                      name: status
                      label: Status
                      description: Status of this classification
                      type: classification_status
          application/vnd.sas.metadata.definition.entity+json:
            schema:
              $ref: "#/components/schemas/entityTypeDefinition"
            examples:
              Entity Type Definition:
                summary: Entity Type Definition
                description: An Entity Type Definition.
                value:
                  version: 2
                  definitionType: entity
                  name: asset
                  label: Asset
                  description: The asset object all metadata objects inherit from.
                  attributeDefinitions:
                    dateModified:
                      name: dateModified
                      label: Date Modified
                      description: The date on which the CreativeWork was most recently modified.
                      type: primitive_date
                    dateCreated:
                      name: dateCreated
                      label: Date Created
                      description: The date on which the CreativeWork was created.
                      type: primitive_date
                    editor:
                      name: editor
                      label: Editor
                      description: Specifies the Person who edited the CreativeWork.
                      type: string
                    creator:
                      name: creator
                      label: Creator
                      description: The creator/author of this CreativeWork.
                      type: string
                    responsibleParty:
                      name: responsibleParty
                      label: Responsible Party
                      description: The identity responsible for this asset.
                      type: string
                  baseType: base
                  platformTypeName: asset
          application/vnd.sas.metadata.definition.relationship+json:
            schema:
              $ref: "#/components/schemas/relationshipTypeDefinition"
            examples:
              Relationship Type Definition:
                summary: Relationship Type Definition
                description: A Relationship Type Definition.
                value:
                  version: 2
                  definitionType: relationship
                  name: relatedObjects
                  label: Entity to related entity
                  description: Entity to a related entity without specific relationship knowledge.
                  attributeDefinitions:
                    source:
                      name: source
                      label: Source
                      description: Source URI for the relationship
                      type: string
                    relationshipRole:
                      name: relationshipRole
                      label: Relationship role
                      description: The nature of the relationship between the two assets. Used when more detail is unknown about this relationship.
                      type: string
                      defaultValue: Associated
                  cascadeDelete: None
                  role: Associated
                  cardinality: MANY_TO_MANY
                  endpointDefinition1:
                    name: associatedEntities
                    label: Associated Entities
                    description: Entities related to this entity.
                    elementType: base
                    container: false
                  endpointDefinition2:
                    name: relatedEntities
                    label: Related entities
                    description: Entities to which this entity is related.
                    elementType: base
                    container: false
      responses:
        "201":
          description: Created. The type definition has been created.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            ETag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.definition.summary+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1json/examples/Type%20Definition%20Summary"
            application/vnd.sas.metadata.definition.attribute+json:
              schema:
                $ref: "#/components/schemas/attributeTypeDefinition"
              examples:
                Attribute Type Definition:
                  summary: Attribute Type Definition
                  description: An attribute type definition.
                  value:
                    creationTimeStamp: 2021-01-19T00:00:00Z
                    modifiedTimeStamp: 2023-05-10T00:00:00Z
                    id: 9e771b12-ace3-4b8a-bce0-b7d99852a213
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        type: application/vnd.sas.metadata.definition.attribute
                      - method: GET
                        rel: alternate
                        href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        type: application/vnd.sas.metadata.definition.summary
                      - method: PUT
                        rel: update
                        href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        type: application/vnd.sas.metadata.definition.attribute
                        responseType: application/vnd.sas.metadata.definition.attribute
                      - method: DELETE
                        rel: delete
                        href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                        uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                      - method: GET
                        rel: up
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                    version: 2
                    definitionType: attribute
                    name: string
                    label: String
                    description: Attribute type to represent string values
                    attributeDefinitions:
                      format:
                        name: format
                        label: Format
                        description: The format type of the string value in use cases where defined.
                        type: primitive_string
                      pattern:
                        name: pattern
                        label: Pattern
                        description: The regular expression format of the string value in use cases where defined.
                        type: primitive_string
                      maxLength:
                        name: maxLength
                        label: Maximum Length
                        description: The required maximum length of the string value in use cases where defined.
                        type: primitive_integer
                      minLength:
                        name: minLength
                        label: Minimum Length
                        description: The required minimum length of the string value in use cases where defined.
                        type: primitive_integer
                    attributeKind: PRIMITIVE
            application/vnd.sas.metadata.definition.classification+json:
              schema:
                $ref: "#/components/schemas/classificationTypeDefinition"
              examples:
                Classification Type Definition:
                  summary: Classification Type Definition
                  description: A Classification Type Definition.
                  value:
                    creationTimeStamp: 2021-01-19T00:00:00Z
                    modifiedTimeStamp: 2023-05-10T00:00:00Z
                    id: 7f2d115f-6713-4c71-8fea-08beefb34dbb
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.classification
                      - method: GET
                        rel: alternate
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.summary
                      - method: PUT
                        rel: update
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.classification
                        responseType: application/vnd.sas.metadata.definition.classification
                      - method: DELETE
                        rel: delete
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                      - method: GET
                        rel: up
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                    version: 2
                    definitionType: classification
                    name: retention
                    label: Retention
                    description: Defines the retention requirements for related data items.
                    attributeDefinitions:
                      basis:
                        name: basis
                        label: Basis
                        description: Basis on which the retention period is defined.
                        type: retention_basis
                      confidence:
                        name: confidence
                        label: Confidence
                        description: Level of confidence in the classification.
                        type: confidence_level
                      status:
                        name: status
                        label: Status
                        description: Status of this classification
                        type: classification_status
            application/vnd.sas.metadata.definition.entity+json:
              schema:
                $ref: "#/components/schemas/entityTypeDefinition"
              examples:
                Entity Type Definition:
                  summary: Entity Type Definition
                  description: An Entity Type Definition.
                  value:
                    creationTimeStamp: 2021-01-19T00:00:00Z
                    modifiedTimeStamp: 2023-05-10T00:00:00Z
                    id: de367483-2d27-4ad9-be56-31043dae8525
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        type: application/vnd.sas.metadata.definition.entity
                      - method: GET
                        rel: alternate
                        href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        type: application/vnd.sas.metadata.definition.summary
                      - method: PUT
                        rel: update
                        href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        type: application/vnd.sas.metadata.definition.entity
                        responseType: application/vnd.sas.metadata.definition.entity
                      - method: DELETE
                        rel: delete
                        href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                        uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                      - method: GET
                        rel: up
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                    version: 2
                    definitionType: entity
                    name: asset
                    label: Asset
                    description: The asset object all metadata objects inherit from.
                    attributeDefinitions:
                      dateModified:
                        name: dateModified
                        label: Date Modified
                        description: The date on which the CreativeWork was most recently modified.
                        type: primitive_date
                      dateCreated:
                        name: dateCreated
                        label: Date Created
                        description: The date on which the CreativeWork was created.
                        type: primitive_date
                      editor:
                        name: editor
                        label: Editor
                        description: Specifies the Person who edited the CreativeWork.
                        type: string
                      creator:
                        name: creator
                        label: Creator
                        description: The creator/author of this CreativeWork.
                        type: string
                      responsibleParty:
                        name: responsibleParty
                        label: Responsible Party
                        description: The identity responsible for this asset.
                        type: string
                    baseType: base
                    platformTypeName: asset
            application/vnd.sas.metadata.definition.relationship+json:
              schema:
                $ref: "#/components/schemas/relationshipTypeDefinition"
              examples:
                Relationship Type Definition:
                  summary: Relationship Type Definition
                  description: A Relationship Type Definition.
                  value:
                    creationTimeStamp: 2021-01-19T00:00:00Z
                    modifiedTimeStamp: 2023-05-10T00:00:00Z
                    id: 55212128-3647-472a-9fd0-dc19d9731c19
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        type: application/vnd.sas.metadata.definition.relationship
                      - method: GET
                        rel: alternate
                        href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        type: application/vnd.sas.metadata.definition.summary
                      - method: PUT
                        rel: update
                        href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        type: application/vnd.sas.metadata.definition.relationship
                        responseType: application/vnd.sas.metadata.definition.relationship
                      - method: DELETE
                        rel: delete
                        href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                        uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                      - method: GET
                        rel: up
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                    version: 2
                    definitionType: relationship
                    name: relatedObjects
                    label: Entity to related entity
                    description: Entity to a related entity without specific relationship knowledge.
                    attributeDefinitions:
                      source:
                        name: source
                        label: Source
                        description: Source URI for the relationship
                        type: string
                      relationshipRole:
                        name: relationshipRole
                        label: Relationship role
                        description: The nature of the relationship between the two assets. Used when more detail is unknown about this relationship.
                        type: string
                        defaultValue: Associated
                    cascadeDelete: None
                    role: Associated
                    cardinality: MANY_TO_MANY
                    endpointDefinition1:
                      name: associatedEntities
                      label: Associated Entities
                      description: Entities related to this entity.
                      elementType: base
                      container: false
                    endpointDefinition2:
                      name: relatedEntities
                      label: Related entities
                      description: Entities to which this entity is related.
                      elementType: base
                      container: false
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  summary: Type Definition Summary
                  description: Type Definition Summary is a lightweight representation providing basic information about attribute, classification, entity, and relationship type definitions.
                  value:
                    creationTimeStamp: 2021-01-19T00:00:00Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-01-19T00:00:00Z
                    modifiedBy: sasuser
                    id: 7f2d115f-6713-4c71-8fea-08beefb34dbb
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.classification
                      - method: GET
                        rel: alternate
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.summary
                      - method: GET
                        rel: up
                        href: /catalog/definitions
                        uri: /catalog/definitions
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.summary
                      - method: PUT
                        rel: update
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        type: application/vnd.sas.metadata.definition.classification
                        responseType: application/vnd.sas.metadata.definition.classification
                      - method: DELETE
                        rel: delete
                        href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                        uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                    version: 1
                    definitionType: classification
                    name: retention
                    label: Retention
                    description: Defines the retention requirements for related data items.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "409":
          description: A conflict has occurred; usually this means that the definition type name is already in use.
          content:
            application/vnd.sas.error+json:
              schema:
                title: Error
                type: object
                description: The representation of an error.
                x-sas-media-type:
                  name: application/vnd.sas.error
                  version: 2
                required:
                  - httpStatusCode
                  - version
                properties:
                  message:
                    type: string
                    description: The message for the error.
                  id:
                    type: string
                    description: The string ID for the error.
                  errorCode:
                    type: integer
                    description: The numeric ID for the error.
                  httpStatusCode:
                    type: integer
                    description: The HTTP status code for the error.
                  details:
                    type: array
                    description: Messages that provide additional details about the cause of the error.
                    items:
                      type: string
                  remediation:
                    type: string
                    description: A message that describes how to resolve the error.
                  errors:
                    type: array
                    description: Any additional errors that occurred.
                    items:
                      $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
                  links:
                    type: array
                    description: The links that apply to the error.
                    items:
                      $ref: "#/components/schemas/tag/properties/links/items"
                  version:
                    type: integer
                    description: The version number of the error representation. This representation is version 2.
              examples:
                Error - Conflict:
                  summary: Error - Conflict
                  description: The specified name is already in use.
                  value:
                    version: 2
                    httpStatusCode: 409
                    errorCode: 100104
                    message: Conflict
                    details: The type definition name "action" is not unique.
  /definitions#archive:
    get:
      operationId: getTypeDefinitionArchive
      summary: Get Type Definitions as an Archive
      description: >
        Returns an archive of all the type definitions, separated into lists by the kind of type definition.

        Note that the archive media type must be specified in order to generate an archive response.
      tags:
        - Type Definitions
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.definition.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.archive+json
            default: application/vnd.sas.metadata.definition.archive+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.definition.archive+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                Type Definition Archive:
                  $ref: "#/paths/~1definitions%23archive/get/responses/200/content/application~1json/examples/Type%20Definition%20Archive"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                Type Definition Archive:
                  summary: Type Definition Archive
                  description: An archive of type definitions which contains lists of attribute, classification, entity, and relationship type definitions.
                  value:
                    attributeTypeDefinitions:
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2023-05-10T00:00:00Z
                        id: 9e771b12-ace3-4b8a-bce0-b7d99852a213
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.attribute
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            type: application/vnd.sas.metadata.definition.attribute
                            responseType: application/vnd.sas.metadata.definition.attribute
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                            uri: /catalog/definitions/9e771b12-ace3-4b8a-bce0-b7d99852a213
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: attribute
                        name: string
                        label: String
                        description: Attribute type to represent string values
                        attributeDefinitions:
                          format:
                            name: format
                            label: Format
                            description: The format type of the string value in use cases where defined.
                            type: primitive_string
                          pattern:
                            name: pattern
                            label: Pattern
                            description: The regular expression format of the string value in use cases where defined.
                            type: primitive_string
                          maxLength:
                            name: maxLength
                            label: Maximum Length
                            description: The required maximum length of the string value in use cases where defined.
                            type: primitive_integer
                          minLength:
                            name: minLength
                            label: Minimum Length
                            description: The required minimum length of the string value in use cases where defined.
                            type: primitive_integer
                        attributeKind: PRIMITIVE
                    entityTypeDefinitions:
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2023-05-10T00:00:00Z
                        id: de367483-2d27-4ad9-be56-31043dae8525
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            type: application/vnd.sas.metadata.definition.entity
                            responseType: application/vnd.sas.metadata.definition.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                            uri: /catalog/definitions/de367483-2d27-4ad9-be56-31043dae8525
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: entity
                        name: asset
                        label: Asset
                        description: The asset object all metadata objects inherit from.
                        attributeDefinitions:
                          format:
                            name: format
                            label: Format
                            description: The format type of the string value in use cases where defined.
                            type: primitive_string
                          pattern:
                            name: pattern
                            label: Pattern
                            description: The regular expression format of the string value in use cases where defined.
                            type: primitive_string
                          maxLength:
                            name: maxLength
                            label: Maximum Length
                            description: The required maximum length of the string value in use cases where defined.
                            type: primitive_integer
                          minLength:
                            name: minLength
                            label: Minimum Length
                            description: The required minimum length of the string value in use cases where defined.
                            type: primitive_integer
                        baseType: base
                        platformTypeName: asset
                    classificationTypeDefinitions:
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2023-05-10T00:00:00Z
                        id: 7f2d115f-6713-4c71-8fea-08beefb34dbb
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.classification
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            type: application/vnd.sas.metadata.definition.classification
                            responseType: application/vnd.sas.metadata.definition.classification
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                            uri: /catalog/definitions/7f2d115f-6713-4c71-8fea-08beefb34dbb
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: classification
                        name: retention
                        label: Retention
                        description: Defines the retention requirements for related data items.
                        attributeDefinitions:
                          format:
                            name: format
                            label: Format
                            description: The format type of the string value in use cases where defined.
                            type: primitive_string
                          pattern:
                            name: pattern
                            label: Pattern
                            description: The regular expression format of the string value in use cases where defined.
                            type: primitive_string
                          maxLength:
                            name: maxLength
                            label: Maximum Length
                            description: The required maximum length of the string value in use cases where defined.
                            type: primitive_integer
                          minLength:
                            name: minLength
                            label: Minimum Length
                            description: The required minimum length of the string value in use cases where defined.
                            type: primitive_integer
                    relationshipTypeDefinitions:
                      - creationTimeStamp: 2021-01-19T00:00:00Z
                        modifiedTimeStamp: 2023-05-10T00:00:00Z
                        id: 55212128-3647-472a-9fd0-dc19d9731c19
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: relatedObjects
                        label: Entity to related entity
                        description: Entity to a related entity without specific relationship knowledge.
                        attributeDefinitions:
                          format:
                            name: format
                            label: Format
                            description: The format type of the string value in use cases where defined.
                            type: primitive_string
                          pattern:
                            name: pattern
                            label: Pattern
                            description: The regular expression format of the string value in use cases where defined.
                            type: primitive_string
                          maxLength:
                            name: maxLength
                            label: Maximum Length
                            description: The required maximum length of the string value in use cases where defined.
                            type: primitive_integer
                          minLength:
                            name: minLength
                            label: Minimum Length
                            description: The required minimum length of the string value in use cases where defined.
                            type: primitive_integer
                        category: ASSOCIATION
                        role: Associated
                        cardinality: MANY_TO_MANY
                        endpointDefinition1:
                          name: associatedEntities
                          label: Associated Entities
                          description: Entities related to this entity.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: relatedEntities
                          label: Related entities
                          description: Entities to which this entity is related.
                          elementType: base
                          container: false
                    version: 2
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
    post:
      operationId: createOrUpdateTypeDefinitionArchive
      summary: Create or Update Type Definitions from an Archive
      description: Create Type Definitions from the given content.
      tags:
        - Type Definitions
      parameters:
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.definition.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.archive+json
            default: application/vnd.sas.metadata.definition.archive+json
        - name: onConflict
          description: >
            Specifies how to handle definitions in the body with ids that already exist.  If 'update' is specified, those definitions are updated.  Otherwise, those definitions are not updated and a 409 Conflict error is returned for each one.
          in: query
          schema:
            type: string
            enum:
              - update
              - ignore
            default: ignore
        - name: If-Unmodified-Since
          description: >
            The time after which any definitions updated by this call cannot have been updated; a 412 (Precondition Failed) error will be returned for each definition that has been modified after this time.

            The value must use the RFC 1123 time format (e.g. Fri, 01 Jan 1960 00:00:00 GMT); if an invalid value is specified, a 400 (Bad Request) error will be returned for each definition that already exists.

            This value is required if the call wil update any existing definitions, and ignored if the call will only create new definitions; if this value is omitted, a 428 (Precondition Required) error will be returned for each definition that already exists.
          in: header
          schema:
            type: string
        - name: preserveModifiedTimeStamps
          description: >
            Specifies how to handle definitions in the body with modifiedTimeStamp attributes. If true the modifiedTimeStamp will be preserved and the modifiedTimeStamp will be used in place of the If-Unmodified-Since header when updating an existing definition. If false, then the modifiedTimeStamp will be updated at the time of modification.
          in: query
          schema:
            type: boolean
      requestBody:
        content:
          application/vnd.sas.metadata.definition.archive+json:
            schema:
              $ref: "#/components/schemas/typeDefinitionArchive"
            examples:
              Type Definition Archive:
                $ref: "#/paths/~1definitions%23archive/post/requestBody/content/application~1json/examples/Type%20Definition%20Archive"
          application/json:
            schema:
              $ref: "#/components/schemas/typeDefinitionArchive"
            examples:
              Type Definition Archive:
                summary: Type Definition Archive
                description: An archive of type definitions which contains lists of attribute, classification, entity, and relationship type definitions.
                value:
                  attributeTypeDefinitions:
                    - creationTimeStamp: 2021-01-19T00:00:00Z
                      modifiedTimeStamp: 2023-05-10T00:00:00Z
                      id: 9e771b12-ace3-4b8a-bce0-b7d99852a213
                      version: 2
                      definitionType: attribute
                      name: string
                      label: String
                      description: Attribute type to represent string values
                      attributeDefinitions:
                        minLength:
                          name: minLength
                          label: Minimum Length
                          description: The required minimum length of the string value in use cases where defined.
                          type: primitive_integer
                        maxLength:
                          name: maxLength
                          label: Maximum Length
                          description: The required maximum length of the string value in use cases where defined.
                          type: primitive_integer
                        pattern:
                          name: pattern
                          label: Pattern
                          description: The regular expression format of the string value in use cases where defined.
                          type: primitive_string
                        format:
                          name: format
                          label: Format
                          description: The format type of the string value in use cases where defined.
                          type: primitive_string
                      attributeKind: PRIMITIVE
                  entityTypeDefinitions:
                    - creationTimeStamp: 2021-01-19T00:00:00Z
                      modifiedTimeStamp: 2023-05-10T00:00:00Z
                      id: de367483-2d27-4ad9-be56-31043dae8525
                      version: 2
                      definitionType: entity
                      name: asset
                      label: Asset
                      description: The asset object all metadata objects inherit from.
                      attributeDefinitions:
                        responsibleParty:
                          name: responsibleParty
                          label: Responsible Party
                          description: The identity responsible for this asset.
                          type: string
                        dateCreated:
                          name: dateCreated
                          label: Date Created
                          description: The date on which the CreativeWork was created.
                          type: primitive_date
                        dateModified:
                          name: dateModified
                          label: Date Modified
                          description: The date on which the CreativeWork was most recently modified.
                          type: primitive_date
                        creator:
                          name: creator
                          label: Creator
                          description: The creator/author of this CreativeWork.
                          type: string
                        editor:
                          name: editor
                          label: Editor
                          description: Specifies the Person who edited the CreativeWork.
                          type: string
                      baseType: base
                      platformTypeName: asset
                  classificationTypeDefinitions:
                    - creationTimeStamp: 2021-01-19T00:00:00Z
                      modifiedTimeStamp: 2023-05-10T00:00:00Z
                      id: 7f2d115f-6713-4c71-8fea-08beefb34dbb
                      version: 2
                      definitionType: classification
                      name: retention
                      label: Retention
                      description: Defines the retention requirements for related data items.
                      attributeDefinitions:
                        basis:
                          name: basis
                          label: Basis
                          description: Basis on which the retention period is defined.
                          type: retention_basis
                        status:
                          name: status
                          label: Status
                          description: Status of this classification
                          type: classification_status
                        confidence:
                          name: confidence
                          label: Confidence
                          description: Level of confidence in the classification.
                          type: confidence_level
                  relationshipTypeDefinitions:
                    - creationTimeStamp: 2021-01-19T00:00:00Z
                      modifiedTimeStamp: 2023-05-10T00:00:00Z
                      id: 55212128-3647-472a-9fd0-dc19d9731c19
                      version: 2
                      definitionType: relationship
                      name: relatedObjects
                      label: Entity to related entity
                      description: Entity to a related entity without specific relationship knowledge.
                      attributeDefinitions:
                        relationshipRole:
                          name: relationshipRole
                          label: Relationship role
                          description: The nature of the relationship between the two assets. Used when more detail is unknown about this relationship.
                          type: string
                          defaultValue: Associated
                        source:
                          name: source
                          label: Source
                          description: Source URI for the relationship
                          type: string
                      cascadeDelete: None
                      role: Associated
                      cardinality: MANY_TO_MANY
                      endpointDefinition1:
                        name: associatedEntities
                        label: Associated Entities
                        description: Entities related to this entity.
                        elementType: base
                        container: false
                      endpointDefinition2:
                        name: relatedEntities
                        label: Related entities
                        description: Entities to which this entity is related.
                        elementType: base
                        container: false
                  version: 2
      responses:
        "200":
          description: >
            The request succeeded, and the content contained no definitions or at least one definition was created or updated successfully.  If at least one operation succeeded, errors for individual definitions are returned in the response body and do not result in an error status for the whole response.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.definition.archive+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                Type Definition Archive:
                  $ref: "#/paths/~1definitions%23archive/get/responses/200/content/application~1json/examples/Type%20Definition%20Archive"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                Type Definition Archive:
                  $ref: "#/paths/~1definitions%23archive/get/responses/200/content/application~1json/examples/Type%20Definition%20Archive"
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/definitions/{definitionId}":
    head:
      operationId: headersForTypeDefinition
      summary: Get the headers for a Type Definition by its ID
      description: >
        Get the headers for a Type Definition by its ID.

        The definition itself must be supported by the media type(s) specified in the accept header; application/vnd.sas.metadata.definition.summary and application/json will match any type.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1definitions~1%7BdefinitionId%7D/get/parameters/0"
        - $ref: "#/paths/~1definitions/get/parameters/4"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.summary+json
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
            default: application/vnd.sas.metadata.definition.summary+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getTypeDefinition
      summary: Get a Type Definition by its ID
      description: >
        Get a Type Definition by its ID.

        The definition itself must be supported by the media type(s) specified in the accept header; application/vnd.sas.metadata.definition.summary and application/json will match any type.
      tags:
        - Type Definitions
      parameters:
        - name: definitionId
          required: true
          description: The ID of the Type Definition
          in: path
          schema:
            type: string
        - $ref: "#/paths/~1definitions/get/parameters/4"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.summary+json
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
            default: application/vnd.sas.metadata.definition.summary+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.definition.summary+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1json/examples/Type%20Definition%20Summary"
            application/vnd.sas.metadata.definition.attribute+json:
              schema:
                $ref: "#/components/schemas/attributeTypeDefinition"
              examples:
                Attribute Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.attribute%2Bjson/examples/Attribute%20Type%20Definition"
            application/vnd.sas.metadata.definition.classification+json:
              schema:
                $ref: "#/components/schemas/classificationTypeDefinition"
              examples:
                Classification Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.classification%2Bjson/examples/Classification%20Type%20Definition"
            application/vnd.sas.metadata.definition.entity+json:
              schema:
                $ref: "#/components/schemas/entityTypeDefinition"
              examples:
                Entity Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.entity%2Bjson/examples/Entity%20Type%20Definition"
            application/vnd.sas.metadata.definition.relationship+json:
              schema:
                $ref: "#/components/schemas/relationshipTypeDefinition"
              examples:
                Relationship Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.relationship%2Bjson/examples/Relationship%20Type%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1json/examples/Type%20Definition%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    put:
      operationId: updateTypeDefinition
      summary: Update a Type Definition by its ID
      description: >
        Update a Type Definition by its ID.

        The definitionId in the URL and the request body must match; and the definition itself must be supported by the media type(s) specified in the accept header; application/vnd.sas.metadata.definition.summary and application/json will match any type.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1definitions~1%7BdefinitionId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/put/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
        - name: Accept
          description: The desired representation for the response. The default is application/vnd.sas.metadata.definition+summary+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.summary+json
              - application/vnd.sas.metadata.definition.attribute+json
              - application/vnd.sas.metadata.definition.classification+json
              - application/vnd.sas.metadata.definition.entity+json
              - application/vnd.sas.metadata.definition.relationship+json
              - application/json
            default: application/vnd.sas.metadata.definition.summary+json
      requestBody:
        content:
          application/vnd.sas.metadata.definition.attribute+json:
            schema:
              $ref: "#/components/schemas/attributeTypeDefinition"
            examples:
              Attribute Type Definition:
                $ref: "#/paths/~1definitions/post/requestBody/content/application~1vnd.sas.metadata.definition.attribute%2Bjson/examples/Attribute%20Type%20Definition"
          application/vnd.sas.metadata.definition.classification+json:
            schema:
              $ref: "#/components/schemas/classificationTypeDefinition"
            examples:
              Classification Type Definition:
                $ref: "#/paths/~1definitions/post/requestBody/content/application~1vnd.sas.metadata.definition.classification%2Bjson/examples/Classification%20Type%20Definition"
          application/vnd.sas.metadata.definition.entity+json:
            schema:
              $ref: "#/components/schemas/entityTypeDefinition"
            examples:
              Entity Type Definition:
                $ref: "#/paths/~1definitions/post/requestBody/content/application~1vnd.sas.metadata.definition.entity%2Bjson/examples/Entity%20Type%20Definition"
          application/vnd.sas.metadata.definition.relationship+json:
            schema:
              $ref: "#/components/schemas/relationshipTypeDefinition"
            examples:
              Relationship Type Definition:
                $ref: "#/paths/~1definitions/post/requestBody/content/application~1vnd.sas.metadata.definition.relationship%2Bjson/examples/Relationship%20Type%20Definition"
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.definition.summary+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1json/examples/Type%20Definition%20Summary"
            application/vnd.sas.metadata.definition.attribute+json:
              schema:
                $ref: "#/components/schemas/attributeTypeDefinition"
              examples:
                Attribute Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.attribute%2Bjson/examples/Attribute%20Type%20Definition"
            application/vnd.sas.metadata.definition.classification+json:
              schema:
                $ref: "#/components/schemas/classificationTypeDefinition"
              examples:
                Classification Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.classification%2Bjson/examples/Classification%20Type%20Definition"
            application/vnd.sas.metadata.definition.entity+json:
              schema:
                $ref: "#/components/schemas/entityTypeDefinition"
              examples:
                Entity Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.entity%2Bjson/examples/Entity%20Type%20Definition"
            application/vnd.sas.metadata.definition.relationship+json:
              schema:
                $ref: "#/components/schemas/relationshipTypeDefinition"
              examples:
                Relationship Type Definition:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1vnd.sas.metadata.definition.relationship%2Bjson/examples/Relationship%20Type%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionSummary"
              examples:
                Type Definition Summary:
                  $ref: "#/paths/~1definitions/post/responses/201/content/application~1json/examples/Type%20Definition%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "412":
          $ref: "#/paths/~1tags~1%7BtagId%7D/put/responses/412"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
    delete:
      operationId: deleteTypeDefinition
      summary: Delete a Type Definition by its ID
      description: Delete a Type Definition by its ID.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1definitions~1%7BdefinitionId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/definitions/{definitionId}/relationships":
    head:
      operationId: headersForTypeDefinitionRelationshipsArchive
      summary: Get the Headers for a Type Definition and All Its Relationships
      description: >
        Get the headers for a Type Definition and all its relationships, including inherited ones, as an Archive by its ID.

        The archive media type must be specified in the accept header in order to generate an archive response.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1definitions~1%7BdefinitionId%7D/get/parameters/0"
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.definition.archive+json
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.archive+json
            default: application/vnd.sas.metadata.definition.archive+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
    get:
      operationId: getTypeDefinitionRelationshipsArchive
      summary: Get the Type Definition and All Its Relationships
      description: >
        Returns an archive of the entity or classification type definition itself, along with all the relationships related to it, including the inherited ones, and separate them into lists by the kind of type definition.

        Note that the archive media type must be specified in order to generate an archive response.
      tags:
        - Type Definitions
      parameters:
        - $ref: "#/paths/~1definitions~1%7BdefinitionId%7D/get/parameters/0"
        - name: Accept
          description: The desired item representation for the response. The default is application/vnd.sas.metadata.definition.archive+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.archive+json
            default: application/vnd.sas.metadata.definition.archive+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.definition.archive+json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                All Relationships Related to an Entity Type Definition:
                  $ref: "#/paths/~1definitions~1%7BdefinitionId%7D~1relationships/get/responses/200/content/application~1json/examples/All%20Relationships%20Related%20to%20an%20Entity%20Type%20Definition"
                All Relationships Related to a Classification Type Definition:
                  $ref: "#/paths/~1definitions~1%7BdefinitionId%7D~1relationships/get/responses/200/content/application~1json/examples/All%20Relationships%20Related%20to%20a%20Classification%20Type%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/typeDefinitionArchive"
              examples:
                All Relationships Related to an Entity Type Definition:
                  summary: All Relationships Related to an Entity Type Definition
                  description: An archive containing the requested entity type definition and all relationship type definitions related to it.
                  value:
                    entityTypeDefinitions:
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: dcdc0b06-91b2-4a69-8754-359539495e10
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            uri: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            type: application/vnd.sas.metadata.definition.entity
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            uri: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            uri: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            type: application/vnd.sas.metadata.definition.entity
                            responseType: application/vnd.sas.metadata.definition.entity
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                            uri: /catalog/definitions/dcdc0b06-91b2-4a69-8754-359539495e10
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: entity
                        name: folder
                        label: Folder
                        description: Container for assets in a tree structure for organization.
                        i18nSource: catalog-gui-icu
                        baseType: base
                        platformTypeName: folder
                        metaCategory: PRIMARY
                    relationshipTypeDefinitions:
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            uri: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            uri: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            uri: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                            uri: /catalog/definitions/e57cbb84-84a5-4a6c-ac44-ffb7a87339cc
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: folderHierarchy
                        label: Folder Hierarchy
                        description: A folder hierarchy describes the relationship between a child and its parent folder.
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: ONE_TO_MANY
                        endpointDefinition1:
                          name: parentFolder
                          label: Parent folder
                          description: The parent folder to the given folder.
                          elementType: folder
                          container: false
                        endpointDefinition2:
                          name: childFolder
                          label: Child folder
                          description: The child folder.
                          elementType: folder
                          container: false
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            uri: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            uri: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            uri: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                            uri: /catalog/definitions/2eb6ed06-25b3-467b-b92e-6f18e9dd0627
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: itemFolder
                        label: Folder to contained items
                        description: A folder and its contained items.
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: ONE_TO_MANY
                        endpointDefinition1:
                          name: owningFolder
                          label: Owning Folder
                          description: The parent folder to the given item.
                          elementType: folder
                          container: false
                        endpointDefinition2:
                          name: folderItems
                          label: Folder items
                          description: Items contained within this folder.
                          elementType: base
                          container: false
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 55212128-3647-472a-9fd0-dc19d9731c19
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                            uri: /catalog/definitions/55212128-3647-472a-9fd0-dc19d9731c19
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: relatedObjects
                        label: Entity to related entity
                        description: Entity to a related entity without specific relationship knowledge.
                        attributeDefinitions:
                          relationshipRole:
                            name: relationshipRole
                            label: Relationship role
                            description: The nature of the relationship between the two assets. Used when more detail is unknown about this relationship.
                            type: string
                            defaultValue: Associated
                          source:
                            name: source
                            label: Source
                            description: Source URI for the relationship.
                            type: string
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: MANY_TO_MANY
                        endpointDefinition1:
                          name: associatedEntities
                          label: Associated Entities
                          description: Entities related to this entity.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: relatedEntities
                          label: Related entities
                          description: Entities to which this entity is related.
                          elementType: base
                          container: false
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 88c1652b-fafa-40d9-99b8-3abaed84a34f
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            uri: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            uri: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            uri: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                            uri: /catalog/definitions/88c1652b-fafa-40d9-99b8-3abaed84a34f
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: history
                        label: Entity history
                        description: Link to previous version.
                        i18nSource: catalog-gui-icu
                        cascadeDelete: SourceToTarget
                        role: Associated
                        cardinality: ONE_TO_ONE
                        endpointDefinition1:
                          name: previous
                          label: Previous
                          description: The previous element (newer) in the history list.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: next
                          label: Next
                          description: The next element (older) in the history list.
                          elementType: base
                          container: true
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 44564985-935b-460f-a5e9-042fbf05926e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            uri: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            uri: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            uri: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                            uri: /catalog/definitions/44564985-935b-460f-a5e9-042fbf05926e
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: commentsOnSubject
                        label: Subject to comments
                        description: Subject to the comments contained.
                        attributeDefinitions:
                          type:
                            name: type
                            label: Type of comment
                            description: The category or classification of the comment being assigned to the subject.
                            type: commentType
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: ONE_TO_MANY
                        endpointDefinition1:
                          name: subjectOfComment
                          label: Subject of comment
                          description: Subject the comments are applied to.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: comments
                          label: Comments
                          description: Comment to be applied to subject.
                          elementType: comment
                          container: false
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 82809c23-924b-4809-8ef3-7eb4b355e5a4
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            uri: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            uri: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            uri: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                            uri: /catalog/definitions/82809c23-924b-4809-8ef3-7eb4b355e5a4
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: responsibleParties
                        label: Base to identities
                        description: Base to the identities related.
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: ONE_TO_MANY
                        endpointDefinition1:
                          name: subjectForResponsibility
                          label: Subject for responsibility
                          description: Subject the identities are applied to.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: responsibleParties
                          label: Responsible Parties
                          description: Identity to be applied to subject.
                          elementType: identity
                          container: false
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            uri: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            uri: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            uri: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                            uri: /catalog/definitions/3ee3ab0d-d927-4963-b9cf-162118a4b3c1
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: annotatedObjects
                        label: Base to Tags
                        description: Base to tags applied to entity.
                        i18nSource: catalog-gui-icu
                        cascadeDelete: None
                        role: Associated
                        cardinality: MANY_TO_MANY
                        endpointDefinition1:
                          name: subjects
                          label: Subjects
                          description: Subjects related to this tag.
                          elementType: base
                          container: false
                        endpointDefinition2:
                          name: tags
                          label: Tags
                          description: Tags applied to this object.
                          elementType: annotation
                          container: false
                    version: 2
                All Relationships Related to a Classification Type Definition:
                  summary: All Relationships Related to a Classification Type Definition
                  description: An archive containing the requested classification type definition and all relationship type definitions related to it.
                  value:
                    classificationTypeDefinitions:
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-07-03T00:00:00Z
                        id: 540937d1-51e8-46f8-8039-34ead3454b1d
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            uri: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            type: application/vnd.sas.metadata.definition.classification
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            uri: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            uri: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            type: application/vnd.sas.metadata.definition.classification
                            responseType: application/vnd.sas.metadata.definition.classification
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                            uri: /catalog/definitions/540937d1-51e8-46f8-8039-34ead3454b1d
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: classification
                        name: semanticTerm
                        label: Semantic Term
                        description: Used to describe a semantic term in a glossary.
                        attributeDefinitions:
                          hidden:
                            name: hidden
                            label: Hidden
                            description: Specifies whether to hide the term.
                            type: boolean
                          informationPrivacy:
                            name: informationPrivacy
                            label: Information Privacy
                            description: The data privacy setting suggestion for this semantic term.
                            type: informationPrivacyType
                    relationshipTypeDefinitions:
                      - creationTimeStamp: 0001-01-01T00:00:00Z
                        modifiedTimeStamp: 2023-06-29T00:00:00Z
                        id: 63e3d825-8906-4f37-a970-685ee1fa91a8
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            uri: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            type: application/vnd.sas.metadata.definition.relationship
                          - method: GET
                            rel: alternate
                            href: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            uri: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            type: application/vnd.sas.metadata.definition.summary
                          - method: PUT
                            rel: update
                            href: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            uri: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            type: application/vnd.sas.metadata.definition.relationship
                            responseType: application/vnd.sas.metadata.definition.relationship
                          - method: DELETE
                            rel: delete
                            href: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                            uri: /catalog/definitions/63e3d825-8906-4f37-a970-685ee1fa91a8
                          - method: GET
                            rel: up
                            href: /catalog/definitions
                            uri: /catalog/definitions
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.summary
                        version: 2
                        definitionType: relationship
                        name: semanticClassifications
                        label: Semantic classifications
                        description: Data field to its semantic classifications.
                        attributeDefinitions:
                          score:
                            name: score
                            label: Score
                            description: The score associated with this relationship.
                            type: number
                          userAssigned:
                            name: userAssigned
                            label: User-assigned
                            description: Flag indicating that the classification has been manually adjusted.
                            type: boolean
                        role: Associated
                        cardinality: MANY_TO_MANY
                        endpointDefinition1:
                          name: dataField
                          label: Data field
                          description: The data field.
                          elementType: dataField
                          container: false
                        endpointDefinition2:
                          name: semanticClassification
                          label: Semantic classification
                          description: Semantic classification for the data field.
                          elementType: semanticTerm
                          container: false
                    version: 2
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
  /search/indices:
    get:
      operationId: getSearchIndices
      summary: Get Search Indices
      description: >
        Returns a list of search index definitions.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy, and
          * modifiedTimeStamp
      tags:
        - Search Indices
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.search.index+json
              - text/plain
              - application/json
            default: application/vnd.sas.metadata.definition.search.index+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.search.collection+json:
              schema:
                $ref: "#/components/schemas/searchIndexCollection"
              examples:
                Search Index Collection:
                  $ref: "#/paths/~1search~1indices/get/responses/200/content/application~1json/examples/Search%20Index%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/searchIndexCollection"
              examples:
                Search Index Collection:
                  summary: Search Index Collection
                  description: A collection of search indices, filtered by name = datasets.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.definition.search.index
                    count: 1
                    start: 0
                    limit: 10
                    name: indices
                    items:
                      - creationTimeStamp: 2022-11-22T00:00:00Z
                        modifiedTimeStamp: 2022-11-22T00:00:00Z
                        id: f2351f74-09cb-4fc2-96df-6131946c354b
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                            uri: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                            type: application/vnd.sas.metadata.definition.search.index
                          - method: GET
                            rel: up
                            href: /catalog/search/indices
                            uri: /catalog/search/indices
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.search.index
                          - method: PUT
                            rel: update
                            href: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                            uri: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                            type: application/vnd.sas.metadata.definition.search.index
                            responseType: application/vnd.sas.metadata.definition.search.index
                          - method: DELETE
                            rel: delete
                            href: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                            uri: /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                          - method: POST
                            rel: rebuild
                            href: /catalog/search/indices/datasets
                            uri: /catalog/search/indices/datasets
                            itemType: application/vnd.sas.job.execution.job
                        name: datasets
                        typeDefinition: dataSet
                        properties:
                          accessor:
                            representation:
                              - keyword
                              - ngram
                              - text
                            stageName: AccessedBy
                          analysisTimeStamp:
                            representation:
                              - date
                            stageName: DateAnalyzed
                          columnCount:
                            representation:
                              - integer
                            stageName: ColumnCount
                          completenessPercent:
                            representation:
                              - float
                            stageName: Completeness
                          creator:
                            representation:
                              - keyword
                              - ngram
                              - text
                            stageName: CreatedBy
                            source: createdBy
                          dataLocale:
                            representation:
                              - keyword
                            freeText: true
                            stageName: Locale
                          dataSize:
                            representation:
                              - long
                            stageName: DatasetSize
                          dateAccessed:
                            representation:
                              - date
                            stageName: DateAccessed
                          dateCreated:
                            representation:
                              - date
                            stageName: DateCreated
                            source: creationTimeStamp
                          dateModified:
                            representation:
                              - date
                            stageName: DateModified
                            source: modifiedTimeStamp
                          definitionId:
                            representation:
                              - keyword
                            stageName: DefinitionID
                            facetDisplay: hidden
                          description:
                            representation:
                              - keyword
                              - text
                            freeText: true
                            stageName: Description
                          editor:
                            representation:
                              - keyword
                              - ngram
                              - text
                            stageName: ModifiedBy
                            source: modifiedBy
                          extension:
                            representation:
                              - keyword
                            stageName: FileExtension
                          informationPrivacy:
                            representation:
                              - keyword
                            freeText: true
                            stageName: InformationPrivacy
                          keywords:
                            representation:
                              - keyword
                              - ngram
                              - text
                            freeText: true
                            stageName: Keywords
                            suggestionsRepresentation: csv
                          label:
                            representation:
                              - keyword
                              - ngram
                              - text
                            freeText: true
                            stageName: Label
                          languagesIdentified:
                            representation:
                              - keyword
                              - ngram
                              - text
                            freeText: true
                            stageName: Languages
                            suggestionsRepresentation: csv
                          name:
                            representation:
                              - keyword
                              - ngram
                              - text
                            freeText: true
                            stageName: Name
                          resourceId:
                            representation:
                              - keyword
                              - ngram
                              - text
                            stageName: URI
                            facetDisplay: hidden
                          reviewStatus:
                            representation:
                              - keyword
                            freeText: true
                            stageName: Status
                          rowCount:
                            representation:
                              - integer
                            stageName: RowCount
                          runId:
                            representation:
                              - keyword
                            facetDisplay: hidden
                          runStatus:
                            representation:
                              - keyword
                            facetDisplay: hidden
                          sourceSystem:
                            representation:
                              - keyword
                            freeText: true
                            facetDisplay: hidden
                          topic:
                            representation:
                              - keyword
                            freeText: true
                            stageName: Topic
                          topicKeywords:
                            representation:
                              - keyword
                              - ngram
                              - text
                            freeText: true
                            stageName: TopicKeywords
                            suggestionsRepresentation: csv
                          topicParent:
                            representation:
                              - keyword
                            freeText: true
                            stageName: TopicParent
                          type:
                            representation:
                              - keyword
                            stageName: Type
                            facetDisplay: hidden
                        children:
                          assetContacts:
                            name: assetContacts
                            peer:
                              name: principal
                              typeDefinition: principal
                              properties:
                                name:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  stageName: Contacts
                              facetDisplay: hidden
                            facetDisplay: hidden
                          dataSetDataFields:
                            name: dataSetDataFields
                            peer:
                              name: dataField
                              typeDefinition: dataField
                              properties:
                                dataType:
                                  representation:
                                    - keyword
                                description:
                                  representation:
                                    - text
                                  freeText: true
                                informationPrivacy:
                                  representation:
                                    - keyword
                                  stageName: informationPrivacy
                                keywords:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  freeText: true
                                  stageName: keywords
                                  suggestionsRepresentation: csv
                                label:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  freeText: true
                                name:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  freeText: true
                                reviewStatus:
                                  representation:
                                    - keyword
                                  stageName: status
                                semanticTypeId:
                                  representation:
                                    - keyword
                                  stageName: semanticType
                              stageName: Column
                            facetDisplay: hidden
                          dataStoreDataSets:
                            name: dataStoreDataSets
                            inverse: true
                            peer:
                              name: dataStore
                              typeDefinition: dataStore
                              properties:
                                name:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  freeText: true
                                region:
                                  representation:
                                    - keyword
                                    - ngram
                                    - text
                                  freeText: true
                              stageName: Library
                            facetDisplay: hidden
                        tags:
                          stageName: Tags
                          name: tags
                        annotation:
                          relationshipType: dataSetDataSetAnnotations
                          properties:
                            - reviewStatus
                            - description
                            - accessor
                            - dateAccessed
                        label: Data sets
                        description: The metadata of a data set, table, or file.
                        aliases:
                          catalog: {}
                        i18nSource: catalog-gui-icu
                        iconSource: sas.icons.OBJECTTYPES.DATATABLE_OBJ
                        version: 1
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/search/indices?start=0&limit=10&filter=eq%28name%2C%27datasets%27%29&sortBy=label:descending
                        uri: /catalog/search/indices?start=0&limit=10&filter=eq%28name%2C%27datasets%27%29&sortBy=label:descending
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.search.index
                      - method: GET
                        rel: collection
                        href: /catalog/search/indices
                        uri: /catalog/search/indices
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.search.index
                      - method: GET
                        rel: up
                        href: /catalog/search
                        uri: /catalog/search
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/search/indices
                        uri: /catalog/search/indices
                        type: application/vnd.sas.metadata.definition.search.index
                        responseType: application/vnd.sas.metadata.definition.search.index
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /search/indices#rebuild:
    post:
      operationId: rebuildSearchIndices
      summary: Rebuild Search Indices
      description: >
        Delete and rebuild indices from the content in the Catalog service.

        The index rebuild jobs run asynchronously via Job Execution Service jobs, which can be polled for status using the job identiers in the response.
      tags:
        - Search Indices
      parameters:
        - name: Accept
          description: >
            The desired representation for the response. The response is a map of the search index uri to the result--either a job, which can be used to poll for updates, or an error if there was an issue processing the index that prevented submission of the job request.
          in: header
          schema:
            type: string
            enum:
              - application/json
            default: application/json
        - name: action
          description: The action parameter for the rebuild request.
          required: true
          in: query
          schema:
            type: string
            enum:
              - rebuild
            default: rebuild
      requestBody:
        content:
          application/vnd.sas.selection+json:
            schema:
              $ref: "#/paths/~1deletions/post/requestBody/content/application~1vnd.sas.selection%2Bjson/schema"
            examples:
              Rebuild search indices:
                summary: Rebuild Indices Request
                description: Index rebuilds run asynchronously via Job Execution Service (JES) jobs. The 'state' field can be monitored to determine when the job completes.
                value:
                  version: 1
                  resources:
                    - /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b
                    - /catalog/search/indices/3bbc7ed7-0e60-456b-a0e1-632024d7ed5a
      responses:
        "202":
          description: >
            The request was accepted, but the index updates have not yet been applied. The jobs identified in the response can be monitored independently to determine when (and how) they complete.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: object
              examples:
                Rebuild indices response:
                  summary: Rebuild IndicesResponse
                  description: Index rebuilds run asynchronously via Job Execution Service (JES) jobs. The 'state' field can be monitored to determine when each job completes.
                  value:
                    /catalog/search/indices/3bbc7ed7-0e60-456b-a0e1-632024d7ed5a:
                      createdBy: sasuser
                      modifiedBy: sasuser
                      version: 4
                      id: a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                      state: running
                      heartbeatInterval: 30
                      heartbeatTimeStamp: 2022-11-15T16:32:05.845Z
                      elapsedTime: 439
                      submittedByApplication: catalog
                      links:
                        - method: GET
                          rel: self
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                          type: application/vnd.sas.job.execution.job
                        - method: GET
                          rel: state
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/state
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/state
                          type: text/plain
                        - method: PUT
                          rel: update
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                          type: application/vnd.sas.job.execution.job
                          responseType: application/vnd.sas.job.execution.job
                        - method: DELETE
                          rel: delete
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee
                        - method: PUT
                          rel: updateState
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/state
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/state
                          type: text/plain
                        - method: POST
                          rel: updateHeartbeatTimeStamp
                          href: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/heartbeatTimeStamp
                          uri: /jobExecution/jobs/a9b1eb6b-d428-4f13-adc0-8d3e1868e7ee/heartbeatTimeStamp
                          type: text/plain
                      jobRequest:
                        version: 3
                        name: Index Maintenance (dataplans)
                        description: Maintain an Index
                        expiresAfter: PT168H
                        createdByApplication: jobExecution
                        jobDefinition:
                          version: 2
                          name: indexMaintenance
                          type: CATALOG
                          code: '{"index":"dataplans"}'
                      creationTimeStamp: 2022-11-15T16:32:05.424Z
                      modifiedTimeStamp: 2022-11-15T16:32:05.849Z
                    /catalog/search/indices/f2351f74-09cb-4fc2-96df-6131946c354b:
                      createdBy: sasuser
                      modifiedBy: sasuser
                      version: 4
                      id: c85bc909-e530-4acb-8c58-5f3669b0149e
                      state: running
                      heartbeatInterval: 30
                      heartbeatTimeStamp: 2022-11-15T16:32:06.654Z
                      elapsedTime: 251
                      submittedByApplication: catalog
                      links:
                        - method: GET
                          rel: self
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                          type: application/vnd.sas.job.execution.job
                        - method: GET
                          rel: state
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/state
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/state
                          type: text/plain
                        - method: PUT
                          rel: update
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                          type: application/vnd.sas.job.execution.job
                          responseType: application/vnd.sas.job.execution.job
                        - method: DELETE
                          rel: delete
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e
                        - method: PUT
                          rel: updateState
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/state
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/state
                          type: text/plain
                        - method: POST
                          rel: updateHeartbeatTimeStamp
                          href: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/heartbeatTimeStamp
                          uri: /jobExecution/jobs/c85bc909-e530-4acb-8c58-5f3669b0149e/heartbeatTimeStamp
                          type: text/plain
                      jobRequest:
                        version: 3
                        name: Index Maintenance (datasets)
                        description: Maintain an Index
                        expiresAfter: PT168H
                        createdByApplication: jobExecution
                        jobDefinition:
                          version: 2
                          name: indexMaintenance
                          type: CATALOG
                          code: '{"index":"datasets"}'
                      creationTimeStamp: 2022-11-15T16:32:06.426Z
                      modifiedTimeStamp: 2022-11-15T16:32:06.657Z
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  "/search/indices/{indexId}":
    head:
      operationId: headersForSearchIndex
      summary: Get the headers for a Search Index Definition by its ID
      description: Get the headers for a Search Index Definition by its ID
      tags:
        - Search Indices
      parameters:
        - $ref: "#/paths/~1search~1indices~1%7BindexId%7D/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.search.index+json
              - application/json
            default: application/vnd.sas.metadata.definition.search.index+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getSearchIndex
      summary: Get a Search Index Definition by its ID
      description: Get a Search Index Definition by its ID
      tags:
        - Search Indices
      parameters:
        - name: indexId
          required: true
          description: The ID of the Search Index definition
          in: path
          schema:
            type: string
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.search.index+json
              - application/json
            default: application/vnd.sas.metadata.definition.search.index+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.definition.search.index+json:
              schema:
                $ref: "#/components/schemas/searchIndex"
              examples:
                Search Index Definition:
                  $ref: "#/paths/~1search~1indices/post/responses/201/content/application~1json/examples/Search%20Index%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/searchIndex"
              examples:
                Search Index Definition:
                  $ref: "#/paths/~1search~1indices/post/responses/201/content/application~1json/examples/Search%20Index%20Definition"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    delete:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: deleteSearchIndex
      summary: Delete a Search Index Definition by its ID
      description: Delete a Search Index Definition by its ID.
      tags:
        - Search Indices
      parameters:
        - $ref: "#/paths/~1search~1indices~1%7BindexId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "502":
          $ref: "#/paths/~1search/get/responses/502"
    post:
      operationId: rebuildSearchIndex
      summary: Rebuild the Search Index and its related docs
      description: >
        Delete and rebuild the index from the content in the Catalog service.

        The index rebuild runs asynchronously via a Job Execution Service job, which can be polled for status.
      tags:
        - Search Indices
      parameters:
        - $ref: "#/paths/~1search~1indices~1%7BindexId%7D/get/parameters/0"
        - name: action
          description: The action parameter for the rebuild request.
          required: true
          in: query
          schema:
            type: string
            enum:
              - rebuild
            default: rebuild
      responses:
        "202":
          description: The request was accepted.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
          content:
            application/vnd.sas.job.execution.job+json:
              schema:
                $ref: "#/paths/~1search~1indices~1%7BindexId%7D/post/responses/202/content/application~1json/schema"
              examples:
                Rebuild Index response:
                  $ref: "#/paths/~1search~1indices~1%7BindexId%7D/post/responses/202/content/application~1json/examples/Rebuild%20Index%20response"
            application/json:
              schema:
                title: Job
                description: The execution job.
                x-sas-media-type:
                  name: application/vnd.sas.job.execution.job
                  version: 4
                required:
                  - id
                properties:
                  version:
                    type: integer
                    description: The version number of the representation. The current version is 4.
                  id:
                    type: string
                    description: The unique identifier that is generated by the API.
                  state:
                    type: string
                    description: 'The current state of the job. Valid values: pending, running, canceled, completed, failed, timedOut. Also see "stateDetails".'
                  stateDetails:
                    type: string
                    description: This member supplements the "state" member by providing an hint that additional information is available. It is a hint and not the actual information. The purpose of this member is for providers to provide a hint, where applicable, about the state set and for that hint to be used by components which convey state information to clients. It should be set in conjunction with "state".
                  results:
                    type: object
                    description: The output of the job execution as a map<string, string>.
                  error:
                    $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
                  jobRequest:
                    title: Job Request
                    description: A job request.
                    x-sas-media-type:
                      name: application/vnd.sas.job.execution.job.request
                      version: 3
                    required:
                      - id
                    type: object
                    properties:
                      version:
                        type: integer
                        description: The version number of the representation. The current version is 3.
                      id:
                        type: string
                        description: The unique identifier for the job request. This is only required for a persisted job request.
                      name:
                        type: string
                        description: The name of the job request.
                      description:
                        type: string
                        description: The description of the job request.
                      creationTimeStamp:
                        description: The timestamp for when the job request was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.  This is set only on a persisted job request.
                        type: string
                      modifiedTimeStamp:
                        description: The timestamp for when the job request was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.  This is set only on a persisted job request.
                        type: string
                      createdBy:
                        description: The ID of the user that created the job request.  This is set only on a persisted job request.
                        type: string
                      modifiedBy:
                        description: The ID of the user that last modified the job request.  This is set only on a persisted job request.
                        type: string
                      jobDefinitionUri:
                        type: string
                        description: The URI of the job definition that is to be executed.  Either the `jobDefinitionUri` or the `jobDefinition` property must be set in a job request submitted to Job Execution service for execution.
                      jobDefinition:
                        title: Job Definition
                        description: The job definition.
                        type: object
                        x-sas-media-type:
                          name: application/vnd.sas.job.definition
                          version: 2
                        required:
                          - code
                        properties:
                          version:
                            type: integer
                            description: The version of the resource. This version is 2.
                          id:
                            type: string
                            description: The unique ID of the resource that is generated by the API.
                          name:
                            type: string
                            description: The name of the job. The maximum length is 100.
                          description:
                            type: string
                            description: A description of the job. The maximum length is 1000.
                            x-sas-attributes:
                              since: "2"
                          type:
                            type: string
                            description: The type of job. This property determines the execution provider that executes this job. The maximum length is 250.
                          code:
                            type: string
                            description: Execution provider specific code to be executed.
                          parameters:
                            type: array
                            description: An array of input parameters to be collected when executing this job definition.
                            items:
                              title: Job Definition Parameter
                              type: object
                              description: The job definition parameter.
                              required:
                                - name
                              properties:
                                version:
                                  type: integer
                                  description: The version of the resource. This version is 1.
                                name:
                                  type: string
                                  description: The name of the parameter. The maximum length is 100.
                                type:
                                  type: string
                                  description: The type of the parameter (TABLE, NUMERIC, DATE, CHARACTER). The maximum length is 20.
                                label:
                                  type: string
                                  description: The display value for the name of this parameter. The maximum length is 250.
                                required:
                                  type: boolean
                                  description: Specifies if the parameter is required for execution.
                                defaultValue:
                                  type: string
                                  description: The default value for this parameter, if one is not specified at execution time.
                          properties:
                            type: array
                            description: An array of name/value pairs needed to execute a job definition. The maximum length of a name is 100.
                            items:
                              title: Property
                              description: A pair consisting of a string name and a string value. This is an element of `application/vnd.sas.properties`
                              required:
                                - name
                                - value
                              properties:
                                name:
                                  type: string
                                  description: The property name.
                                value:
                                  type: string
                                  description: The property value.
                          createdBy:
                            type: string
                            description: The user that created this job.
                          modifiedBy:
                            type: string
                            description: The user that modified this job.
                          creationTimeStamp:
                            type: string
                            description: "The formatted timestamp when the job was created, in the following format: yyyy-mm-ddThh:mm:ssZ."
                          modifiedTimeStamp:
                            type: string
                            description: "The formatted timestamp when the job was modified, in the following format: yyyy-mm-ddThh:mm:ssZ."
                          links:
                            type: array
                            description: An array of link objects
                            items:
                              $ref: "#/components/schemas/tag/properties/links/items"
                      expiresAfter:
                        type: string
                        description: The duration of time (in <a href="https://www.w3.org/TR/xmlschema-2/#duration" target="_blank">W3C XML duration format</a>) after the completion of the job when the job should be deleted by the Job Execution service. If a value is specified for this property, it overrides any value specified by the provider's `/commons/settings` endpoint for the job request.<p>For a job request that is embedded in the `application/vnd.sas.job.execution.job` media type, if a value is not already set for the `expiresAfter` property, the value is set by the Job Execution service to the provider's value, if one exists.
                      arguments:
                        type: object
                        description: The values of the arguments in the format map<string, string> that contains name value pairs (map<name, value>). Values can be supplied for parameters not defined in the job definition. The maximum name length is 100.<p>Hibernate does not persist a map entry with a null value. Therefore, a persisted Job Request will not contain any such entries.<p>For a job request that is embedded in the 'application/vnd.sas.job.execution.job' media type, this value is set by the Job Execution service and contains the complete set of arguments that are to be used in the execution by the provider. Arguments that already exist in the original job request are left unchanged. If there are arguments in the job definition that do not exist in the original job request arguments map, those arguments and any default values, including null values, are added to the arguments map. However, since the Job object is persisted before being sent to the provider, no entries for such null-value arguments in the Job are sent to the provider (because of the Hibernate behavior of not persisting map/collection entries with null values). The Job Execution service also guarantees that any required argument has an associated non-null value.
                      properties:
                        type: object
                        description: The value of properties in the format of (map<string, string>) that contains name value pairs (map<name, value>). The maximum name length is 100.
                        additionalProperties:
                          type: string
                      createdByApplication:
                        type: string
                        description: The application that created the job request. The value is typically from the spring.application.name property. The value is used as the "creator" in the routing key of the Job State Change events, and if it is not present in the job request the value "jobExecution" is used. Valid characters are [a-zA-Z0-9] and the hyphen. The maximum length is 64.
                      links:
                        type: array
                        description: The links that are associated with the job request.
                        items:
                          $ref: "#/components/schemas/tag/properties/links/items"
                  heartbeatInterval:
                    type: integer
                    format: int32
                    description: The interval in seconds that the `heartbeatTimeStamp` should be updated by the provider or the job times out. This is 0 if there is no heartbeat.
                  heartbeatTimeStamp:
                    description: The timestamp for when the last heartbeat was received, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
                    type: string
                  creationTimeStamp:
                    description: The timestamp for when the job was created, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
                    type: string
                  modifiedTimeStamp:
                    description: The timestamp for when the job was last modified, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
                    type: string
                  endTimeStamp:
                    description: The timestamp for when the state of the job changed to completed or failed, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`.
                    type: string
                  elapsedTime:
                    description: If the job has ended, the value is the difference between the `endTimeStamp` and the `creationTimeStamp`. If the job has not ended, the value is the difference between the time that this representation was created and the `creationTimeStamp`. The units are in milliseconds. A value of -1 is returned, if a value is not set for the `creationTimeStamp`.
                    type: number
                  logLocation:
                    description: The URI for the log, if one exists.  The provider may provide additional information.
                    type: string
                  expirationTimeStamp:
                    description: The timestamp for when the job expires and will be deleted by the Job Execution service, in the format of `YYYY-MM-DDThh:mm:ss.sssZ`. This is set by the service after the job has completed based on the value of the `expiresAfter` member of the job request.
                    type: string
                  createdBy:
                    description: The ID of the user that created or submitted the job.
                    type: string
                  modifiedBy:
                    description: The ID of the user that last modified the job.
                    type: string
                  submittedByApplication:
                    description: 'Value of the query parameter "submitter" on the POST endpoints to submit a job. If the query parameter is not present, the createdByApplication value from the embedded JobRequest is used. The createdByApplication value in the embedded JobRequest that is used is the same as what was in the submitted job request if one was present; if not the value "jobExecution" is used. The submittedByApplication value is used as the "submitter" in the routing routing key of Job State Change events. Only characters in the set [a-zA-Z0-9] and dash are valid for submitter. Max length: 64'
                    type: string
                  links:
                    type: array
                    description: The links that are associated with the job.
                    items:
                      $ref: "#/components/schemas/tag/properties/links/items"
              examples:
                Rebuild Index response:
                  summary: Index Rebuild Response
                  description: Index rebuilds run asynchronously via a Job Execution Service (JES) job. The 'state' field can be monitored to determine when the job completes.
                  value:
                    createdBy: sasuser
                    modifiedBy: sasuser
                    version: 4
                    id: 80520af5-af95-4e50-b7e6-36dfb8622c06
                    state: running
                    heartbeatInterval: 30
                    heartbeatTimeStamp: 2021-09-29T19:48:01.57Z
                    elapsedTime: 273
                    submittedByApplication: jobExecution
                    links:
                      - method: GET
                        rel: self
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                        type: application/vnd.sas.job.execution.job
                      - method: GET
                        rel: state
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/state
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/state
                        type: text/plain
                      - method: PUT
                        rel: update
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                        type: application/vnd.sas.job.execution.job
                        responseType: application/vnd.sas.job.execution.job
                      - method: DELETE
                        rel: delete
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06
                      - method: PUT
                        rel: updateState
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/state
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/state
                        type: text/plain
                      - method: POST
                        rel: updateHeartbeatTimeStamp
                        href: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/heartbeatTimeStamp
                        uri: /jobExecution/jobs/80520af5-af95-4e50-b7e6-36dfb8622c06/heartbeatTimeStamp
                        type: text/plain
                    jobRequest:
                      version: 3
                      name: Index Maintenance (datasets)
                      description: Maintain an Index
                      expiresAfter: PT168H
                      createdByApplication: jobExecution
                      jobDefinition:
                        version: 2
                        name: indexMaintenance
                        type: CATALOG
                        code: '{"index":"datasets"}'
                    creationTimeStamp: 2021-09-29T19:48:01.3Z
                    modifiedTimeStamp: 2021-09-29T19:48:01.571Z
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  /views:
    get:
      operationId: getViewDefinitions
      summary: Get View Definitions
      description: >
        Returns a list of view definitions.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * label,
          * description,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy, and
          * modifiedTimeStamp
      tags:
        - Views
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          description: The desired item representation for collections.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/viewCollection"
              examples:
                View Collection:
                  $ref: "#/paths/~1views/get/responses/200/content/application~1json/examples/View%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/viewCollection"
              examples:
                View Collection:
                  summary: View collection
                  description: A list of view definitions.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.definition.view
                    count: 1
                    start: 0
                    limit: 10
                    name: views
                    items:
                      - creationTimeStamp: 2022-03-23T14:36:42.145Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2022-03-23T14:36:42.145Z
                        modifiedBy: sasuser
                        id: a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                            uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                            type: application/vnd.sas.metadata.definition.view
                          - method: GET
                            rel: up
                            href: /catalog/views
                            uri: /catalog/views
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.definition.view
                          - method: PUT
                            rel: update
                            href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                            uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                            type: application/vnd.sas.metadata.definition.view
                            responseType: application/vnd.sas.metadata.definition.view
                          - method: DELETE
                            rel: delete
                            href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                            uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        version: 1
                        name: dataSetColumns
                        label: Dataset with Columns
                        description: Dataset and columns
                        query: match (t:dataSet)-[r:dataSetDataField]->(c:dataField)
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/views?start=0&limit=10&sortBy=name
                        uri: /catalog/views?start=0&limit=10&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.view
                      - method: GET
                        rel: collection
                        href: /catalog/views
                        uri: /catalog/views
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.view
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/views
                        uri: /catalog/views
                        type: application/vnd.sas.metadata.definition.view
                        responseType: application/vnd.sas.metadata.definition.view
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    post:
      operationId: createView
      summary: Create a View definition
      description: Create a View definition with the given content.
      tags:
        - Views
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
      requestBody:
        content:
          application/vnd.sas.metadata.definition.view+json:
            schema:
              $ref: "#/components/schemas/view"
            examples:
              View Definition:
                $ref: "#/paths/~1views/post/requestBody/content/application~1json/examples/View%20Definition"
          application/json:
            schema:
              $ref: "#/components/schemas/view"
            examples:
              View Definition:
                summary: View Definition
                description: A View Definition.
                value:
                  id: a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                  name: dataSetColumns
                  label: Dataset with Columns
                  description: Dataset and columns
                  query: match (t:dataSet)-[r:dataSetDataField]->(c:dataField)
      responses:
        "201":
          description: >
            Created. The View definition has been created.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            ETag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.definition.view+json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  $ref: "#/paths/~1views/post/responses/201/content/application~1json/examples/View%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  summary: View Definition
                  description: A View Definition.
                  value:
                    creationTimeStamp: 2022-03-23T14:36:42.145Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2022-03-23T14:36:42.145Z
                    modifiedBy: sasuser
                    id: a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        type: application/vnd.sas.metadata.definition.view
                      - method: GET
                        rel: up
                        href: /catalog/views
                        uri: /catalog/views
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.definition.view
                      - method: PUT
                        rel: update
                        href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        type: application/vnd.sas.metadata.definition.view
                        responseType: application/vnd.sas.metadata.definition.view
                      - method: DELETE
                        rel: delete
                        href: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                        uri: /catalog/views/a8fc4c97-b6b0-4026-81cc-c47af69ac56e
                    version: 1
                    name: dataSetColumns
                    label: Dataset with Columns
                    description: Dataset and columns
                    query: match (t:dataSet)-[r:dataSetDataField]->(c:dataField)
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  "/views/{viewId}":
    head:
      operationId: headersForView
      summary: Get the headers for a View Definition by its ID
      description: Get the headers for a View Definition by its ID
      tags:
        - Views
      parameters:
        - $ref: "#/paths/~1views~1%7BviewId%7D/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getView
      summary: Get a View Definition by its ID
      description: Get a View Definition by its ID
      tags:
        - Views
      parameters:
        - name: viewId
          required: true
          description: The ID of the View Definition
          in: path
          schema:
            type: string
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.definition.view+json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  $ref: "#/paths/~1views/post/responses/201/content/application~1json/examples/View%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  $ref: "#/paths/~1views/post/responses/201/content/application~1json/examples/View%20Definition"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    put:
      operationId: updateView
      summary: Update a View Definition by its ID
      description: Update a View Definition by its ID.
      tags:
        - Views
      parameters:
        - $ref: "#/paths/~1views~1%7BviewId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/put/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.definition.view+json
              - application/json
            default: application/vnd.sas.metadata.definition.view+json
      requestBody:
        content:
          application/vnd.sas.metadata.definition.view+json:
            schema:
              $ref: "#/components/schemas/view"
            examples:
              View Definition:
                $ref: "#/paths/~1views/post/requestBody/content/application~1json/examples/View%20Definition"
          application/json:
            schema:
              $ref: "#/components/schemas/view"
            examples:
              View Definition:
                $ref: "#/paths/~1views/post/requestBody/content/application~1json/examples/View%20Definition"
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.definition.view+json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  $ref: "#/paths/~1views/post/responses/201/content/application~1json/examples/View%20Definition"
            application/json:
              schema:
                $ref: "#/components/schemas/view"
              examples:
                View Definition:
                  $ref: "#/paths/~1views/post/responses/201/content/application~1json/examples/View%20Definition"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "412":
          $ref: "#/paths/~1tags~1%7BtagId%7D/put/responses/412"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
    delete:
      operationId: deleteView
      summary: Delete a View Definition by its ID
      description: Delete a View Definition by its ID.
      tags:
        - Views
      parameters:
        - $ref: "#/paths/~1views~1%7BviewId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
  /bots:
    get:
      operationId: getAgents
      summary: Get Agents
      description: >
        Get the agents as a summary representation.

        The full bot representation is maintained by a provider, and enumerating them may be prohibitively expensive. The summary representation provides a link to an individual bot that enables consumers to retrieve other representations.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * description,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy, and
          * modifiedTimeStamp.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - name: Accept-Item
          in: header
          description: The desired item representation, the default is application/vnd.sas.metadata.bot.summary+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.summary+json
            default: application/vnd.sas.metadata.bot.summary+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/agentCollection"
              examples:
                Agent Collection:
                  $ref: "#/paths/~1bots/get/responses/200/content/application~1json/examples/Agent%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/agentCollection"
              examples:
                Agent Collection:
                  summary: Agent Collection
                  description: A collection of agents which consists of the Agent summary representation.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.bot.summary
                    count: 1
                    start: 0
                    limit: 10
                    name: bots
                    items:
                      - creationTimeStamp: 2021-09-17T14:46:05.376Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-09-17T14:46:33.836Z
                        modifiedBy: sasuser
                        version: 1
                        id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        name: Crawl SASHelp (compute)
                        description: Crawl the SASHelp library
                        provider: TABLE-BOT
                        parameters:
                          datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            type: application/vnd.sas.metadata.bot
                          - method: GET
                            rel: alternate
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            type: application/vnd.sas.metadata.bot.summary
                          - method: PUT
                            rel: update
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            type: application/vnd.sas.metadata.bot
                            responseType: application/vnd.sas.metadata.bot
                          - method: DELETE
                            rel: delete
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                          - method: GET
                            rel: runState
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                            type: text/plain
                          - method: PUT
                            rel: updateRunState
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                            type: text/plain
                          - method: GET
                            rel: history
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.bot.history
                          - method: PUT
                            rel: runPreview
                            href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                            uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                            type: application/vnd.sas.metadata.bot.preview
                          - method: GET
                            rel: up
                            href: /catalog/bots
                            uri: /catalog/bots
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.bot.summary
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots?start=0&limit=10&filter=eq%28provider%2C%27TABLE-BOT%27%29&sortBy=name
                        uri: /catalog/bots?start=0&limit=10&filter=eq%28provider%2C%27TABLE-BOT%27%29&sortBy=name
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
                      - method: GET
                        rel: collection
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
                      - method: GET
                        rel: up
                        href: /catalog
                        uri: /catalog
                        type: application/vnd.sas.api
                      - method: POST
                        rel: create
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.metadata.bot
                        responseType: application/vnd.sas.metadata.bot
                      - method: POST
                        rel: runStates
                        href: /catalog/bots/state
                        uri: /catalog/bots/state
                        type: application/vnd.sas.selection
                        responseType: application/json
                      - method: POST
                        rel: histories
                        href: /catalog/bots/history
                        uri: /catalog/bots/history
                        type: application/vnd.sas.selection
                        responseType: application/json
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          description: A conflict has occurred.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Conflict:
                  summary: Error - Conflict
                  description: >
                    A conflict has occurred. This usually indicates the request

                    conflicts with the current state of an existing or the target resource.
                  value:
                    version: 2
                    httpStatusCode: 409
                    message: Conflict
        "500":
          description: The Catalog service encountered an error.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Internal Server Error:
                  summary: Error - Internal Server Error
                  description: The service encountered an error.
                  value:
                    version: 2
                    httpStatusCode: 500
                    message: Internal Server Error
                    details: The service encountered an error.
    post:
      x-performance:
        large:
          default: true
          conditions:
            $ref: "#/components/x-performance/large/conditions"
          expect:
            $ref: "#/components/x-performance/large/expect"
      operationId: createAgent
      summary: Create an Agent
      description: Create an Agent with the given content.
      tags:
        - Agents
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.summary+json
              - application/vnd.sas.metadata.bot+json
              - application/vnd.sas.metadata.scheduled.bot+json
              - application/json
      requestBody:
        content:
          application/vnd.sas.metadata.bot+json:
            schema:
              $ref: "#/components/schemas/agent"
            examples:
              Agent:
                $ref: "#/paths/~1bots~1%7BagentId%7D/put/requestBody/content/application~1json/examples/Agent"
              Agent with filter rules:
                summary: Agent with Filter Rules
                description: This request demonstrates the use of filter rules to 'exclude' content from processing. Different providers may offer different ways of filtering content.
                value:
                  provider: TABLE-BOT
                  name: Crawl SASHelp (compute)
                  description: Crawl the SASHelp library
                  parameters:
                    datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                    filter:
                      action: exclude
                      rules:
                        - field: name
                          predicate: matches
                          argument: LEU*
                        - field: name
                          predicate: matches
                          argument: V*
              Agent with job parameters:
                summary: Agent with Job Parameters
                description: This request demonstrates passing parameters to an underlying Job Execution Service job. The set of parameters can vary between providers.
                value:
                  provider: TABLE-BOT
                  name: Crawl SASHelp (compute)
                  description: Crawl the SASHelp library
                  parameters:
                    datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                  jobParameters:
                    samplePercent: "20"
          application/vnd.sas.metadata.scheduled.bot+json:
            schema:
              $ref: "#/components/schemas/scheduledAgent"
            examples:
              Agent with a Schedule:
                $ref: "#/paths/~1bots~1%7BagentId%7D/put/requestBody/content/application~1vnd.sas.metadata.scheduled.bot%2Bjson/examples/Agent"
      responses:
        "201":
          description: Created. The requested agent has been created.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            ETag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.summary+json:
              schema:
                $ref: "#/components/schemas/agentSummary"
              examples:
                Agent Summary:
                  $ref: "#/paths/~1bots/post/responses/201/content/application~1json/examples/Agent%20Summary"
            application/vnd.sas.metadata.bot+json:
              schema:
                $ref: "#/components/schemas/agent"
              examples:
                Agent:
                  $ref: "#/paths/~1bots~1%7BagentId%7D/get/responses/200/content/application~1json/examples/Agent"
            application/vnd.sas.metadata.scheduled.bot+json:
              schema:
                $ref: "#/components/schemas/scheduledAgent"
              examples:
                Agent with Schedule:
                  summary: Scheduled Agent
                  description: >
                    This response demonstrates an agent with a Scheduler service trigger. The scheduler service will run the agent according to the provided schedule. Note that triggers is an array, and so there can be more than one schedule associated with the agent.

                    The 'jobRequestURI' and 'scheduledJobURI' are (respectively) links to the agent's Environment Manager job request and Scheduler service resources.
                  value:
                    creationTimeStamp: 2021-09-17T14:46:05.376Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-09-17T14:46:33.836Z
                    modifiedBy: sasuser
                    id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                    version: 1
                    provider: TABLE-BOT
                    name: Crawl SASHelp (compute)
                    description: Crawl the SASHelp library
                    parameters:
                      datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                    triggers:
                      - type: TIMEEVENT
                        name: Nightly
                        active: true
                        recurrence:
                          type: daily
                          startDate: 2020-04-02
                          skipCount: 1
                          dayOfMonth: 1
                        hours: "22"
                        minutes: "00"
                        duration: 100
                        timezone: America/New_York
                        maxOccurrence: -1
                    jobRequestURI: /jobExecution/jobRequests/2f85f24b-84ae-4ef0-b45e-5a253ac86131
                    scheduledJobURI: /scheduler/jobs/efd6a2d4-f0c3-40c4-a23e-e81b43916a4f
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                      - method: GET
                        rel: alternate
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot.summary
                      - method: PUT
                        rel: update
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                        responseType: application/vnd.sas.metadata.bot
                      - method: DELETE
                        rel: delete
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                      - method: GET
                        rel: runState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        type: text/plain
                      - method: PUT
                        rel: updateRunState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        type: text/plain
                      - method: GET
                        rel: history
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.history
                      - method: PUT
                        rel: runPreview
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        type: application/vnd.sas.metadata.bot.preview
                      - method: GET
                        rel: up
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
            application/json:
              schema:
                $ref: "#/components/schemas/agentSummary"
              examples:
                Agent Summary:
                  summary: Agent Summary
                  description: A summary representation of an agent.
                  value:
                    creationTimeStamp: 2021-09-17T14:46:05.376Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-09-17T14:46:33.836Z
                    modifiedBy: sasuser
                    id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                    version: 1
                    provider: TABLE-BOT
                    name: Crawl SASHelp (compute)
                    description: Crawl the SASHelp library
                    parameters:
                      datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                      - method: GET
                        rel: alternate
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot.summary
                      - method: PUT
                        rel: update
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                        responseType: application/vnd.sas.metadata.bot
                      - method: DELETE
                        rel: delete
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                      - method: GET
                        rel: runState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        type: text/plain
                      - method: PUT
                        rel: updateRunState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        type: text/plain
                      - method: GET
                        rel: history
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.history
                      - method: PUT
                        rel: runPreview
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        type: application/vnd.sas.metadata.bot.preview
                      - method: GET
                        rel: up
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          description: Unsupported Media Type. Include a Content-Type header with a supported value in the request.
          content:
            application/vnd.sas.error+json:
              schema:
                $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
              examples:
                Error - Unsupported Media Type:
                  summary: Error - Unsupported Media Type
                  description: The header field "Content-Type" does not have a supported value.
                  value:
                    version: 2
                    httpStatusCode: 415
                    message: Unsupported Media Type
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  /bots/history:
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getBulkAgentHistory
      summary: Get history for a list of Agents
      description: Get history for a list of Agents.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.selection+json
              - application/json
            default: application/vnd.sas.selection+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/json
            default: application/json
      requestBody:
        content:
          application/vnd.sas.selection+json:
            schema:
              $ref: "#/paths/~1deletions/post/requestBody/content/application~1vnd.sas.selection%2Bjson/schema"
            examples:
              Bulk History:
                summary: Bulk Agent History
                description: This request demonstrates passing in a selection of agent IDs with a URL template.
                value:
                  version: 1
                  template: /catalog/bots/{id}
                  resources:
                    - af349db0-0691-4510-bd01-122417810f7b
                    - e71351da-8592-4c6e-aeca-405587387ddf
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  $ref: "#/components/schemas/agentHistory"
              examples:
                Agent History:
                  summary: Bulk Agent History
                  description: This response demonstrates a bulk history response where one of the agent IDs cannot be found.
                  value:
                    af349db0-0691-4510-bd01-122417810f7b:
                      - version: 1
                        id: 07c76ed1-2a4a-4282-b129-638cd38f6fe5
                        status: completed
                        createdBy: sasuser
                        creationTimeStamp: 2021-09-13T14:17:09.165Z
                        endTimeStamp: 2021-09-13T14:35:55.756Z
                        nEnumerated: 281
                        nExcluded: 0
                        nAdded: 279
                        nUpdated: 0
                        nRemoved: 0
                        averageRunTime: 1127
                        parameters:
                          datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                        jobParameters:
                          samplePercent: "20"
                        links:
                          - method: GET
                            rel: newAssets
                            href: /catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:new
                            uri: /catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:new
                            type: application/vnd.sas.metadata.search.collection
                            itemType: application/vnd.sas.metadata.search.result
                          - method: GET
                            rel: changedAssets
                            href: /catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:changed
                            uri: /catalog/search?type=adv&q=runId:07c76ed1-2a4a-4282-b129-638cd38f6fe5+runStatus:changed
                            type: application/vnd.sas.metadata.search.collection
                            itemType: application/vnd.sas.metadata.search.result
                    e71351da-8592-4c6e-aeca-405587387ddf:
                      version: 2
                      httpStatusCode: 404
                      message: Not Found
                      details:
                        - /catalog/bots/e71351da-8592-4c6e-aeca-405587387ddf
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
  "/bots/history/{runId}":
    head:
      operationId: headersForAgentRunHistory
      summary: Get the headers for an Agent's run execution history
      description: Get the headers for an Agent's run execution history by the run ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1history~1%7BrunId%7D/get/parameters/0"
        - name: Accept
          in: header
          description: The desired representation, the default is application/vnd.sas.metadata.bot.history+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.history+json
              - application/json
            default: application/vnd.sas.metadata.bot.history+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getAgentRunHistory
      summary: Get an Agent's run execution history
      description: >
        Get an Agent's execution history by ID. This endpoint provides a history record.
      tags:
        - Agents
      parameters:
        - name: runId
          required: true
          description: The ID of the Agent run
          in: path
          schema:
            type: string
        - name: Accept
          in: header
          description: The desired representation, the default is application/vnd.sas.metadata.bot.history+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.history+json
              - application/json
            default: application/vnd.sas.metadata.bot.history+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.history+json:
              schema:
                $ref: "#/components/schemas/agentHistory"
              examples:
                Agent History:
                  $ref: "#/paths/~1bots~1history~1%7BrunId%7D/get/responses/200/content/application~1json/examples/Agent%20History"
            application/json:
              schema:
                $ref: "#/components/schemas/agentHistory"
              examples:
                Agent History:
                  summary: Agent History
                  description: A history of Agent execution metrics.
                  value:
                    version: 1
                    id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                    status: completed
                    createdBy: sasuser
                    creationTimeStamp: 2021-09-17T18:51:02.78Z
                    endTimeStamp: 2021-09-17T19:16:53.213Z
                    nEnumerated: 290
                    nExcluded: 49
                    nAdded: 239
                    nUpdated: 0
                    nRemoved: 0
                    averageRunTime: 1550
                    parameters:
                      datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                    jobParameters:
                      samplePercent: "20"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /bots/state:
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getBulkAgentState
      summary: Get execution status for a list of Agents
      description: Get the execution statue for a list of Agents.
      tags:
        - Agents
      parameters:
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.selection+json
              - application/json
            default: application/vnd.sas.selection+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/json
            default: application/json
      requestBody:
        content:
          application/vnd.sas.selection+json:
            schema:
              $ref: "#/paths/~1deletions/post/requestBody/content/application~1vnd.sas.selection%2Bjson/schema"
            examples:
              Bulk State:
                summary: Bulk Agent State
                description: This request demonstrates passing in a selection of agent IDs with a URL template.
                value:
                  version: 1
                  template: /catalog/bots/{id}
                  resources:
                    - af349db0-0691-4510-bd01-122417810f7b
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
              examples:
                Agent State:
                  summary: Bulk Agent State
                  description: This request demonstrates returning state based on a vnd.sas.selection input.
                  value:
                    af349db0-0691-4510-bd01-122417810f7b: idle
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
  "/bots/{agentId}":
    head:
      operationId: headersForAgent
      summary: Get the headers for an Agent by its ID
      description: Get the headers for an Agent by its ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot+json
              - application/vnd.sas.metadata.scheduled.bot+json
              - application/vnd.sas.metadata.bot.summary+json
              - application/json
            default: application/vnd.sas.metadata.bot+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      operationId: getAgent
      summary: Get an Agent by its ID
      description: Get an Agent by its ID.
      tags:
        - Agents
      parameters:
        - name: agentId
          required: true
          description: The ID of the Agent
          in: path
          schema:
            type: string
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot+json
              - application/vnd.sas.metadata.scheduled.bot+json
              - application/vnd.sas.metadata.bot.summary+json
              - application/json
            default: application/vnd.sas.metadata.bot+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.bot+json:
              schema:
                $ref: "#/components/schemas/agent"
              examples:
                Agent:
                  $ref: "#/paths/~1bots~1%7BagentId%7D/get/responses/200/content/application~1json/examples/Agent"
            application/vnd.sas.metadata.bot.summary+json:
              schema:
                $ref: "#/components/schemas/agentSummary"
              examples:
                Agent:
                  $ref: "#/paths/~1bots/post/responses/201/content/application~1json/examples/Agent%20Summary"
            application/vnd.sas.metadata.scheduled.bot+json:
              schema:
                $ref: "#/components/schemas/scheduledAgent"
              examples:
                Scheduled Agent:
                  $ref: "#/paths/~1bots/post/responses/201/content/application~1vnd.sas.metadata.scheduled.bot%2Bjson/examples/Agent%20with%20Schedule"
            application/json:
              schema:
                $ref: "#/components/schemas/agent"
              examples:
                Agent:
                  summary: Agent
                  description: A catalog agent response.
                  value:
                    creationTimeStamp: 2021-09-17T14:46:05.376Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-09-17T14:46:33.836Z
                    modifiedBy: sasuser
                    version: 1
                    id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                    name: Crawl SASHelp (compute)
                    description: Crawl the SASHelp library
                    provider: TABLE-BOT
                    parameters:
                      datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                      - method: GET
                        rel: alternate
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot.summary
                      - method: PUT
                        rel: update
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
                        responseType: application/vnd.sas.metadata.bot
                      - method: DELETE
                        rel: delete
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                      - method: GET
                        rel: runState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state
                        type: text/plain
                      - method: PUT
                        rel: updateRunState
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/state?value=running
                        type: text/plain
                      - method: GET
                        rel: history
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.history
                      - method: PUT
                        rel: runPreview
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/preview?value=running
                        type: application/vnd.sas.metadata.bot.preview
                      - method: GET
                        rel: up
                        href: /catalog/bots
                        uri: /catalog/bots
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.summary
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    put:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: updateAgent
      summary: Update an Agent by its ID
      description: Update an Agent by its ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags~1%7BtagId%7D/put/parameters/1"
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot+json
              - application/vnd.sas.metadata.scheduled.bot+json
              - application/json
            default: application/vnd.sas.metadata.bot+json
        - name: Accept
          description: The desired representation for the response. The default is application/vnd.sas.metadata.definition+summary+json.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot+json
              - application/vnd.sas.metadata.scheduled.bot+json
              - application/vnd.sas.metadata.bot.summary+json
              - application/json
            default: application/vnd.sas.metadata.bot+json
      requestBody:
        content:
          application/vnd.sas.metadata.bot+json:
            schema:
              $ref: "#/components/schemas/agent"
            examples:
              Agent:
                $ref: "#/paths/~1bots~1%7BagentId%7D/put/requestBody/content/application~1json/examples/Agent"
          application/vnd.sas.metadata.scheduled.bot+json:
            schema:
              $ref: "#/components/schemas/scheduledAgent"
            examples:
              Agent:
                summary: Scheduled Agent
                description: This request demonstrates constructing an agent with a Scheduler service trigger. The scheduler service will run the agent according to the provided schedule. Note that triggers is an array, and so there can be more than one schedule associated with the agent.
                value:
                  provider: TABLE-BOT
                  name: Crawl SASHelp (compute)
                  description: Crawl the SASHelp library
                  parameters:
                    datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                  triggers:
                    - version: 1
                      name: Nightly
                      repeat: 0
                      type: TIMEEVENT
                      active: true
                      recurrence:
                        type: daily
                        startDate: 2020-04-02
                        skipCount: 1
                        dayOfMonth: 1
                        dates: []
                      hours: "22"
                      minutes: "00"
                      duration: 100
                      timezone: America/New_York
                      maxOccurrence: -1
          application/json:
            schema:
              $ref: "#/components/schemas/agent"
            examples:
              Agent:
                summary: Agent request
                description: A simple agent demonstrating provider-specific values in the parameter map.
                value:
                  provider: TABLE-BOT
                  name: Crawl SASHelp (compute)
                  description: Crawl the SASHelp library
                  parameters:
                    datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
            Etag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Last-Modified:
              $ref: "#/paths/~1tags/patch/responses/200/headers/Last-Modified"
          content:
            application/vnd.sas.metadata.bot+json:
              schema:
                $ref: "#/components/schemas/agent"
              examples:
                Agent:
                  $ref: "#/paths/~1bots~1%7BagentId%7D/get/responses/200/content/application~1json/examples/Agent"
            application/vnd.sas.metadata.bot.summary+json:
              schema:
                $ref: "#/components/schemas/agentSummary"
              examples:
                Agent:
                  $ref: "#/paths/~1bots/post/responses/201/content/application~1json/examples/Agent%20Summary"
            application/vnd.sas.metadata.scheduled.bot+json:
              schema:
                $ref: "#/components/schemas/scheduledAgent"
              examples:
                Scheduled Agent:
                  $ref: "#/paths/~1bots/post/responses/201/content/application~1vnd.sas.metadata.scheduled.bot%2Bjson/examples/Agent%20with%20Schedule"
            application/json:
              schema:
                $ref: "#/components/schemas/agent"
              examples:
                Agent:
                  $ref: "#/paths/~1bots~1%7BagentId%7D/get/responses/200/content/application~1json/examples/Agent"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "412":
          $ref: "#/paths/~1tags~1%7BtagId%7D/put/responses/412"
        "428":
          $ref: "#/paths/~1tags/patch/responses/428"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
    delete:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: deleteAgent
      summary: Delete an Agent by its ID
      description: >
        Delete an agent. Deleting an agent does not automatically delete the catalog content introduced by the agent.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/bots/{agentId}/history":
    head:
      operationId: headersForAgentHistory
      summary: Get the headers for an Agent's execution history
      description: Get the headers for an Agent's execution history by its ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          in: header
          description: The desired item representation, the default is application/vnd.sas.metadata.bot.history+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.history+json
              - application/json
            default: application/vnd.sas.metadata.bot.history+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getAgentHistory
      summary: Get an Agent's execution history
      description: >
        Get an Agent's execution history by ID. This endpoint provides a collection of history records ordered from most recent to oldest.

        The properties that can be used as filter criteria are:
          * id,
          * status, and
          * runId.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/6"
        - name: Accept-Item
          in: header
          description: The desired item representation, the default is application/vnd.sas.metadata.bot.history+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.history+json
              - application/json
            default: application/vnd.sas.metadata.bot.history+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/agentHistoryCollection"
              examples:
                Agent History Collection:
                  $ref: "#/paths/~1bots~1%7BagentId%7D~1history/get/responses/200/content/application~1json/examples/Agent%20History%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/agentHistoryCollection"
              examples:
                Agent History Collection:
                  summary: Agent History Collection
                  description: A collection of Agent execution metrics.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.bot.history
                    count: 1
                    start: 0
                    limit: 10
                    name: history
                    items:
                      - version: 1
                        id: ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        status: completed
                        createdBy: sasuser
                        creationTimeStamp: 2021-09-17T18:51:02.78Z
                        endTimeStamp: 2021-09-17T19:16:53.213Z
                        nEnumerated: 290
                        nExcluded: 49
                        nAdded: 239
                        nUpdated: 0
                        nRemoved: 0
                        averageRunTime: 1550
                        parameters:
                          datasourceURI: /dataSources/providers/Compute/sources/eb654570-efb4-4d61-9814-3444869805b0~fs~SASHELP
                        jobParameters:
                          samplePercent: "20"
                        links:
                          - method: GET
                            rel: newAssets
                            href: /catalog/search?type=adv&q=runId:4fa4b36a-e50a-48a5-89ea-7c9d472cb9ab+runStatus:new
                            uri: /catalog/search?type=adv&q=runId:4fa4b36a-e50a-48a5-89ea-7c9d472cb9ab+runStatus:new
                            type: application/vnd.sas.metadata.search.collection
                            itemType: application/vnd.sas.metadata.search.result
                          - method: GET
                            rel: changedAssets
                            href: /catalog/search?type=adv&q=runId:4fa4b36a-e50a-48a5-89ea-7c9d472cb9ab+runStatus:changed
                            uri: /catalog/search?type=adv&q=runId:4fa4b36a-e50a-48a5-89ea-7c9d472cb9ab+runStatus:changed
                            type: application/vnd.sas.metadata.search.collection
                            itemType: application/vnd.sas.metadata.search.result
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history?start=0&limit=10
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history?start=0&limit=10
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.history
                      - method: GET
                        rel: collection
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a/history
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.history
                      - method: GET
                        rel: up
                        href: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        uri: /catalog/bots/ba14bc66-8aaf-4a57-bff1-87a39774ac1a
                        type: application/vnd.sas.metadata.bot
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
  "/bots/{agentId}/state":
    head:
      operationId: headersForAgentRunState
      summary: Get the headers for an Agent's execution status
      description: >
        Get the headers for an Agent's execution status by its ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
      responses:
        "200":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getAgentRunState
      summary: Get an Agent's execution status
      description: >
        Get an Agent's execution status by ID.

        This endpoint returns a value of either 'idle' or 'running'.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
      responses:
        "200":
          description: The request succeeded.
          content:
            text/plain:
              schema:
                type: string
              example: running
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
    put:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: updateAgentRunState
      summary: Update an Agent's run state
      description: >
        Update an Agent's run state. This endpoint can only be used to start running an agent (from 'idle' to 'running'); it cannot be used to stop it (from 'running' to 'idle').
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - name: value
          in: query
          description: the desired run state. Currently, only "running" is accepted.
          required: true
          schema:
            type: string
      responses:
        "202":
          description: The requested agent has started running. Results will be applied to the catalog asynchronously.
          content:
            text/plain:
              schema:
                type: string
              example: running
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  "/bots/{agentId}/preview":
    put:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: createAgentPreview
      summary: Run an Agent preview
      description: >
        Running an agent preview provides insights into how many resources will be processed by the agent.

        The preview runs asynchronously; both the 'Location' header and the 'self' link in the response can be used to determine the location of the preview resource, which can be polled until the preview completes.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.preview+json
              - application/json
            default: application/vnd.sas.metadata.bot.preview+json
      responses:
        "202":
          description: Accepted. The requested agent preview has been submitted for processing.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.preview+json:
              schema:
                $ref: "#/components/schemas/agentPreview"
              examples:
                Agent Preview:
                  $ref: "#/paths/~1bots~1%7BagentId%7D~1preview/put/responses/202/content/application~1json/examples/Agent%20Preview"
            application/json:
              schema:
                $ref: "#/components/schemas/agentPreview"
              examples:
                Agent Preview:
                  summary: Agent Preview
                  description: >-
                    This response demonstrates a completed agent preview. The status of 'completed' indicates that the preview ran successfully, and the counts associated with the preview are correct at the time the preview was run.

                    The 'self' link in the links array can be used to iteratively poll the preview for completion while the status indicates it is not complete.
                  value:
                    version: 1
                    id: af349db0-0691-4510-bd01-122417810f7b
                    status: completed
                    creationTimeStamp: 2021-09-28T17:28:27.585Z
                    nEnumerated: 281
                    nExcluded: 2
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/af349db0-0691-4510-bd01-122417810f7b/preview/40d9150d-9fb4-4cc5-be1c-7e5aae74b06f
                        uri: /catalog/bots/af349db0-0691-4510-bd01-122417810f7b/preview/40d9150d-9fb4-4cc5-be1c-7e5aae74b06f
                        type: application/vnd.sas.metadata.bot.preview
                      - method: GET
                        rel: up
                        href: /catalog/bots/af349db0-0691-4510-bd01-122417810f7b
                        uri: /catalog/bots/af349db0-0691-4510-bd01-122417810f7b
                        type: application/vnd.sas.metadata.bot.summary
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  "/bots/{agentId}/preview/{previewId}":
    head:
      operationId: headersForAgentPreview
      summary: Get the headers for Agent Preview results
      description: >
        Get the headers for the preview of results of an agent preview job.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - $ref: "#/paths/~1bots~1%7BagentId%7D~1preview~1%7BpreviewId%7D/get/parameters/1"
        - name: Accept
          in: header
          description: The desired item representation.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.preview+json
              - application/json
            default: application/vnd.sas.metadata.bot.preview+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getAgentPreview
      summary: Get Agent Preview results
      description: >
        Preview the results of an agent preview job.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1%7BagentId%7D/get/parameters/0"
        - name: previewId
          required: true
          description: The ID of the Agent Preview
          in: path
          schema:
            type: string
        - name: Accept
          in: header
          description: The desired item representation.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.preview+json
              - application/json
            default: application/vnd.sas.metadata.bot.preview+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.preview+json:
              schema:
                $ref: "#/components/schemas/agentPreview"
              examples:
                Agent Preview:
                  $ref: "#/paths/~1bots~1%7BagentId%7D~1preview/put/responses/202/content/application~1json/examples/Agent%20Preview"
            application/json:
              schema:
                $ref: "#/components/schemas/agentPreview"
              examples:
                Agent Preview:
                  $ref: "#/paths/~1bots~1%7BagentId%7D~1preview/put/responses/202/content/application~1json/examples/Agent%20Preview"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
  /bots/adhocAnalysisJobs:
    get:
      operationId: getAdhocAnalysisJobs
      summary: Get Adhoc Analysis Jobs
      description: >
        Get a list of Adhoc Analysis Jobs as a summary representation.

        The full job representation is maintained by a provider, and enumerating them may be prohibitively expensive. The summary representation provides a link to an individual job that enables consumers to retrieve other representations.

        The properties that can be used as filter and sort criteria are:
          * id,
          * name,
          * description,
          * createdBy,
          * creationTimeStamp,
          * modifiedBy,
          * modifiedTimeStamp,
          * resources.uri, and
          * runId.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1tags/get/parameters/0"
        - $ref: "#/paths/~1tags/get/parameters/1"
        - $ref: "#/paths/~1tags/get/parameters/2"
        - $ref: "#/paths/~1tags/get/parameters/3"
        - name: Accept-Item
          in: header
          description: The desired item representation, the default is application/vnd.sas.metadata.bot.adhoc.summary+json.
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.adhoc.summary+json
              - application/json
            default: application/vnd.sas.metadata.bot.adhoc.summary+json
      responses:
        "200":
          description: OK.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.collection+json:
              schema:
                $ref: "#/components/schemas/adhocAnalysisJobCollection"
              examples:
                Adhoc Analysis Job Collection:
                  $ref: "#/paths/~1bots~1adhocAnalysisJobs/get/responses/200/content/application~1json/examples/Adhoc%20Analysis%20Job%20Collection"
            application/json:
              schema:
                $ref: "#/components/schemas/adhocAnalysisJobCollection"
              examples:
                Adhoc Analysis Job Collection:
                  summary: Adhoc Analysis Job Collection
                  description: A collection of Adhoc Analysis Jobs which consists of the summary representation.
                  value:
                    version: 2
                    accept: application/vnd.sas.metadata.bot.adhoc.summary
                    count: 1
                    start: 0
                    limit: 10
                    name: adhocAnalysisJobs
                    items:
                      - creationTimeStamp: 2021-11-16T15:58:44.325Z
                        createdBy: sasuser
                        modifiedTimeStamp: 2021-11-16T15:58:44.873Z
                        modifiedBy: sasuser
                        version: 1
                        id: cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        provider: TABLE-BOT
                        name: Adhoc analysis Samples (CAS)
                        description: Analyze COSTCHANGE and RAND_RETAILDEMO
                        status: completed
                        endTimeStamp: 2021-11-16T15:58:57.975Z
                        links:
                          - method: GET
                            rel: self
                            href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                            uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                            type: application/vnd.sas.metadata.bot.adhoc
                          - method: GET
                            rel: alternate
                            href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                            uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                            type: application/vnd.sas.metadata.bot.adhoc.summary
                          - method: DELETE
                            rel: delete
                            href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                            uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                          - method: GET
                            rel: up
                            href: /catalog/bots/adhocAnalysisJobs
                            uri: /catalog/bots/adhocAnalysisJobs
                            type: application/vnd.sas.collection
                            itemType: application/vnd.sas.metadata.bot.adhoc.summary
                    links:
                      - method: POST
                        rel: create
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.metadata.bot.adhoc.summary
                        responseType: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: GET
                        rel: self
                        href: /catalog/bots/adhocAnalysisJobs?start=0&limit=10&sortBy=name:ascending
                        uri: /catalog/bots/adhocAnalysisJobs?start=0&limit=10&sortBy=name:ascending
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: GET
                        rel: collection
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: GET
                        rel: up
                        href: /catalog/bots
                        uri: /catalog/bots
                        responseType: application/vnd.sas.collection
                        responseItemType: application/vnd.sas.metadata.bot.summary
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1/get/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: createAdhocAnalysisJob
      summary: Create an Adhoc Analysis Job
      description: Create an Adhoc Analysis Job with the given content.
      tags:
        - Agents
      parameters:
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.adhoc.summary+json
              - application/vnd.sas.metadata.bot.adhoc+json
              - application/json
      requestBody:
        content:
          application/vnd.sas.metadata.bot.adhoc+json:
            schema:
              $ref: "#/components/schemas/adhocAnalysisJob"
            examples:
              Adhoc Analysis Job:
                $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/requestBody/content/application~1json/examples/Adhoc%20Analysis%20Job"
          application/json:
            schema:
              $ref: "#/components/schemas/adhocAnalysisJob"
            examples:
              Adhoc Analysis Job:
                summary: Adhoc Analysis Job request
                description: A simple Adhoc Analysis Job.
                value:
                  provider: TABLE-BOT
                  name: Adhoc analysis Samples (CAS)
                  description: Analyze COSTCHANGE and RAND_RETAILDEMO
                  resources:
                    - uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Samples/tables/COSTCHANGE?ext=sashdat
                      type: CASTable
                    - uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Samples/tables/RAND_RETAILDEMO?ext=sashdat
                      type: CASTable
                  jobParameters: {}
      responses:
        "201":
          description: Created. The requested Adhoc Analysis Job has been created.
          headers:
            Location:
              $ref: "#/paths/~1tags/post/responses/201/headers/Location"
            ETag:
              $ref: "#/paths/~1tags/post/responses/201/headers/ETag"
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.adhocsummary+json:
              schema:
                $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/schema"
              examples:
                Adhoc Analysis Job Summary:
                  $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/examples/Adhoc%20Analysis%20Job%20Summary"
            application/vnd.sas.metadata.bot.adhoc+json:
              schema:
                $ref: "#/components/schemas/adhocAnalysisJob"
              examples:
                Agent:
                  summary: Adhoc Analysis Job response
                  description: A simple Adhoc Analysis Job in a completed state.
                  value:
                    creationTimeStamp: 2021-11-16T15:58:44.325Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-11-16T15:58:44.873Z
                    modifiedBy: sasuser
                    version: 1
                    id: cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                    provider: TABLE-BOT
                    name: Adhoc analysis Samples (CAS)
                    description: Analyze COSTCHANGE and RAND_RETAILDEMO
                    resources:
                      - type: CASTable
                        uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Samples/tables/COSTCHANGE?ext=sashdat
                      - type: CASTable
                        uri: /dataTables/dataSources/cas~fs~cas-shared-default~fs~Samples/tables/RAND_RETAILDEMO?ext=sashdat
                    status: completed
                    endTimeStamp: 2021-11-16T15:58:57.975Z
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        type: application/vnd.sas.metadata.bot.adhoc
                      - method: GET
                        rel: alternate
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        type: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: DELETE
                        rel: delete
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                      - method: GET
                        rel: up
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.adhoc.summary
            application/json:
              schema:
                title: Adhoc Analysis Job Summary
                description: Summary information about an Adhoc Analysis Job.
                type: object
                required:
                  - name
                  - provider
                properties:
                  name:
                    type: string
                    description: the name of this job; the maximum length is 100.
                  description:
                    type: string
                    description: The descriptive text for this job; the maximum length is 1000.
                  provider:
                    type: string
                    description: The name of the job provider; the maximum length is 100. This is automatically prefixed with "CATALOG-" to determine the JES provider name.
              examples:
                Adhoc Analysis Job Summary:
                  summary: Adhoc Analysis Job Summary response
                  description: A simple Adhoc Analysis Job as a summary representation.
                  value:
                    creationTimeStamp: 2021-11-16T15:58:44.325Z
                    createdBy: sasuser
                    modifiedTimeStamp: 2021-11-16T15:58:44.873Z
                    modifiedBy: sasuser
                    version: 1
                    id: cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                    provider: TABLE-BOT
                    name: Adhoc analysis Samples (CAS)
                    description: Analyze COSTCHANGE and RAND_RETAILDEMO
                    links:
                      - method: GET
                        rel: self
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        type: application/vnd.sas.metadata.bot.adhoc
                      - method: GET
                        rel: alternate
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        type: application/vnd.sas.metadata.bot.adhoc.summary
                      - method: DELETE
                        rel: delete
                        href: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                        uri: /catalog/bots/adhocAnalysisJobs/cadec7b9-a602-46bd-92c0-0ab7a0e6e86c
                      - method: GET
                        rel: up
                        href: /catalog/bots/adhocAnalysisJobs
                        uri: /catalog/bots/adhocAnalysisJobs
                        type: application/vnd.sas.collection
                        itemType: application/vnd.sas.metadata.bot.adhoc.summary
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "406":
          $ref: "#/paths/~1/get/responses/406"
        "409":
          $ref: "#/paths/~1bots/get/responses/409"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
  "/bots/adhocAnalysisJobs/{analysisJobId}":
    head:
      operationId: headersForAdhocAnalysisJob
      summary: Get the headers for an Adhoc Analysis Job by its ID
      description: Get the headers for an Adhoc Analysis Job by its ID.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1adhocAnalysisJobs~1%7BanalysisJobId%7D/get/parameters/0"
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.adhoc.summary+json
              - application/vnd.sas.metadata.bot.adhoc+json
              - application/json
            default: application/vnd.sas.metadata.bot.adhoc.summary+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    get:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: getAdhocAnalysisJob
      summary: Get an Adhoc Analysis Job by its ID
      description: Get an Adhoc Analysis Job by its ID.
      tags:
        - Agents
      parameters:
        - name: analysisJobId
          required: true
          description: The ID of the Adhoc Analysis Job
          in: path
          schema:
            type: string
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.metadata.bot.adhoc.summary+json
              - application/vnd.sas.metadata.bot.adhoc+json
              - application/json
            default: application/vnd.sas.metadata.bot.adhoc.summary+json
      responses:
        "200":
          description: The request succeeded.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/vnd.sas.metadata.bot.adhocsummary+json:
              schema:
                $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/schema"
              examples:
                Adhoc Analysis Job Summary:
                  $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/examples/Adhoc%20Analysis%20Job%20Summary"
            application/vnd.sas.metadata.bot.adhoc+json:
              schema:
                $ref: "#/components/schemas/adhocAnalysisJob"
              examples:
                Agent:
                  $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1vnd.sas.metadata.bot.adhoc%2Bjson/examples/Agent"
            application/json:
              schema:
                $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/schema"
              examples:
                Adhoc Analysis Job Summary:
                  $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/examples/Adhoc%20Analysis%20Job%20Summary"
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "406":
          $ref: "#/paths/~1/get/responses/406"
    delete:
      operationId: deleteAdhocAnalysisJob
      summary: Delete an Adhoc Analysis Job by its ID
      description: >
        Delete an Adhoc Analysis Job. Deleting a job does not automatically delete the catalog content introduced by the job.
      tags:
        - Agents
      parameters:
        - $ref: "#/paths/~1bots~1adhocAnalysisJobs~1%7BanalysisJobId%7D/get/parameters/0"
      responses:
        "204":
          description: The request succeeded.
        "400":
          $ref: "#/paths/~1tags/get/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
  /deletions:
    post:
      x-performance:
        medium:
          default: true
          conditions:
            $ref: "#/components/x-performance/medium/conditions"
          expect:
            $ref: "#/components/x-performance/medium/expect"
      operationId: deleteObjects
      summary: Delete multiple objects based on a list of URIs
      description: >
        Delete multiple objects based on a list of URIs.

        This endpoint currently only supports deleting agents and instances; type definitions and search index definitions are not supported.
      tags:
        - Deletions
      parameters:
        - name: Content-Type
          required: true
          description: The representation in the request body.
          in: header
          schema:
            type: string
            enum:
              - application/vnd.sas.selection+json
              - application/json
            default: application/vnd.sas.selection+json
        - name: Accept
          description: The desired representation for the response.
          in: header
          schema:
            type: string
            enum:
              - application/json
            default: application/json
      requestBody:
        content:
          application/vnd.sas.selection+json:
            schema:
              title: Selection
              description: Identifies a set of resources.
              x-sas-media-type:
                name: application/vnd.sas.selection
                version: 1
              required:
                - version
                - resources
              properties:
                version:
                  description: The schema version number of this media type. This representation is version 1.
                  type: integer
                template:
                  description: 'A URI template in which the {id} parameter can be replaced with a value from the "resources" array in order to yield the URI of the identified resource. '
                  type: string
                type:
                  description: >-
                    Specifies whether the resources array contains IDs, URIs, or both.

                    <dl>

                    <dt>"id"</dt><dd>the array contains resource identifiers only. This is the default if "type" is omitted.</dd>

                    <dt>"uri"</dt><dd>the array contains resource URIs</dd>

                    <dt>"mixed"</dt><dd>the array contains a mixture of identifiers and URIs.</dd>

                    </dl>
                  type: string
                  enum:
                    - id
                    - uri
                    - mixed
                resources:
                  description: An array of resource IDs or URIs
                  type: array
                  items:
                    type: string
                links:
                  type: array
                  description: An array of links to related resources and actions.
                  items:
                    $ref: "#/components/schemas/tag/properties/links/items"
            examples:
              Bulk Delete:
                summary: Deletion request
                description: This request demonstrates deleting both an agent and a library instance. This is one way to remove an agent and the content introduced by the agent in a single request.
                value:
                  version: 1
                  resources:
                    - /catalog/bots/af349db0-0691-4510-bd01-122417810f7b
                    - /catalog/instances/49ea0241-251d-4268-ad95-8f30c0ce1e72
      responses:
        "200":
          description: The request succeeded, and the content's `resources` were empty or at least one of the `resources` was deleted successfully.  The response body is a mapping from each value in the `resources` of the content to an empty object if that deletion succeeded, or the error for that deletion if that deletion failed. If at least one deletion succeeded, errors for individual deletions do not result in an error status for the whole response.
          headers:
            Content-Type:
              $ref: "#/paths/~1/get/responses/200/headers/Content-Type"
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: string
              examples:
                Bulk Delete Response:
                  summary: Deletion response
                  description: This response demonstrates a successful delete of the requested objects. If an error had occurred, the map value would contain error details.
                  value:
                    /catalog/bots/af349db0-0691-4510-bd01-122417810f7b: {}
                    /catalog/instances/49ea0241-251d-4268-ad95-8f30c0ce1e72: {}
        "400":
          $ref: "#/paths/~1tags/patch/responses/400"
        "401":
          $ref: "#/paths/~1/get/responses/401"
        "403":
          $ref: "#/paths/~1tags/get/responses/403"
        "404":
          $ref: "#/paths/~1tags/patch/responses/404"
        "415":
          $ref: "#/paths/~1bots/post/responses/415"
        "500":
          $ref: "#/paths/~1bots/get/responses/500"
components:
  x-performance:
    my-default:
      description: >
        The default performance thresholds to apply to all endpoints. This case will apply to all endpoints that have no x-performance block.
      default: true
      conditions:
        data: default
        system: default
        minUsers: 1
        minCount: 0
        failures:
          - maxPercent: 2%
          - maxCount: 20
      expect:
        response:
          - max < 2000ms
          - 95% < 500ms
          - 90% < 200ms
    medium:
      description: >
        Performance thresholds to apply to endpoints that are typically longer running. Either due to interacting with other services or performing more computationally intensive tasks.
      conditions:
        data: default
        system: default
        minUsers: 1
        minCount: 0
        failures:
          - maxPercent: 2%
          - maxCount: 20
      expect:
        response:
          - max < 3000ms
          - 95% < 750ms
          - 90% < 400ms
    large:
      description: >
        Performance threshold to apply to the longest running endpoints. Should be used infrequently and only on endpoints making long-running requests to other services (or the like).
      conditions:
        data: default
        system: default
        minUsers: 1
        minCount: 0
        failures:
          - maxPercent: 2%
          - maxCount: 20
      expect:
        response:
          - max < 4000ms
          - 95% < 1000ms
          - 90% < 500ms
  schemas:
    rootApi:
      title: API
      description: The list of links to top-level resources and operations available from the root of the API.
      x-sas-media-type:
        name: application/vnd.sas.api
        version: 1
      required:
        - version
        - links
      properties:
        version:
          type: integer
          description: The version number of the API representation. This is version 1.
          minimum: 1
        links:
          description: The API's top-level links.
          type: array
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
    catalogStatistics:
      title: Catalog Statistics
      description: Information about the contents of the Catalog
      type: object
      properties:
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        searchIndexStats:
          type: object
          description: a map of search engine statistics.
          readOnly: true
          additionalProperties:
            description: metrics describing an index's content
            type: object
            properties:
              id:
                type: string
                description: id of the instance.
                readOnly: true
              nDocuments:
                type: integer
                description: The number of documents in the index
                readOnly: true
              breakdown:
                type: object
                description: a map of each value in a field and it's associated number of documents
                readOnly: true
              message:
                type: string
                description: This field will populate if the index needs to be rebuilt.
                readOnly: true
    searchResultCollection:
      title: Search Result Collection
      description: A collection of search results. Similar to a resource collection, but introduces a maxScore member.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains definition resources.
              items:
                $ref: "#/components/schemas/searchResult"
            maxScore:
              type: number
              description: The highest score returned by the search engine.
    searchResult:
      title: Search Result
      description: A single search result.
      type: object
      required:
        - id
      properties:
        id:
          type: string
          description: id of the instance.
          readOnly: true
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        type:
          type: string
          description: The name of the instance's type definition.
        typeLabel:
          type: string
          description: The label for the instance's type definition.
        name:
          type: string
          description: The name of the instance.
        label:
          type: string
          description: The label for the instance.
        description:
          type: string
          description: The description of the instance.
        score:
          type: number
          description: The score assigned by the search engine.
        created:
          type: string
          description: The creation timestamp of the artifact that document represents.
        modified:
          type: string
          description: The modification timestamp of the artifact that document represents.
        owner:
          type: string
          description: The creator/author of this creative work.
        modifiedBy:
          type: string
          description: Specifies the person who edited the creative work.
        displayType:
          type: string
          description: A keyword used to indicate the kind of content represented by the entity.
        registeredType:
          type: string
          description: A keyword used to registered type of the entity.
        attributes:
          type: object
          description: A list of fields specific to the entity
        links:
          type: array
          description: The links that apply to the definition.
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
    searchFacetCollection:
      title: Facet Collection
      description: Collection of search facets.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains definition resources.
              items:
                $ref: "#/components/schemas/searchFacet"
    searchFacet:
      title: Search Facet
      description: Information about a search facet.
      type: object
      properties:
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        name:
          type: string
          description: The name of the facet.
        indices:
          description: A list of indices that define this facet.
          type: array
          items:
            type: string
        hiddenIndices:
          description: A list of indices that define this facet, but have declared it hidden. This is useful for facets that are required to implement search usecases, but should not be exposed to the user by default.
          type: array
          items:
            type: string
        type:
          description: >
            The data type defined in the index or indices listed.

            Other indices that define the same facet but with a different data type are rendered as a distinct facet.
          type: string
    suggestionCollection:
      title: Suggestion Collection
      description: Collection of search suggestions.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains suggestions.
              items:
                type: string
    instanceCollection:
      title: Instance Collection
      description: Collection of instance objects.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              description: An array that contains metadata instance resources.
              type: array
              items:
                anyOf:
                  - $ref: "#/components/schemas/instance"
                  - $ref: "#/paths/~1instances/post/responses/201/content/application~1vnd.sas.summary%2Bjson/schema"
                  - $ref: "#/components/schemas/classification"
                  - $ref: "#/components/schemas/entity"
                  - $ref: "#/components/schemas/relationship"
    instance:
      title: Instance
      description: The basic metadata attributes present on all instances with pointer to definition.
      type: object
      allOf:
        - title: Abstract Object
          description: abstractObject supports modeling of other objects; it is never instantiated.
          properties:
            id:
              type: string
              description: the unique identity of this object. Immutable after creation.
            creationTimeStamp:
              type: string
              description: The date and time this object was created, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
              format: date-time
              readOnly: true
            modifiedTimeStamp:
              type: string
              description: The date and time this object was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
              format: date-time
              readOnly: true
            createdBy:
              type: string
              description: The identity that created this object. The value is ignored on input.
              readOnly: true
            modifiedBy:
              type: string
              description: the identity that modified this object last. The value is ignored on input.
              readOnly: true
            version:
              type: integer
              description: The version of the media type.
            links:
              type: array
              description: The links that apply to the object. The value is ignored on input.
              items:
                $ref: "#/components/schemas/tag/properties/links/items"
              readOnly: true
      required:
        - instanceType
        - definition
      properties:
        instanceType:
          description: The type of metadata instance this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - entity
            - classification
            - relationship
        definitionId:
          description: The identity of this object's parent definition.  Immutable after creation. Either definitionId or definition must be provided.  If definitionId is provided, definition is ignored.
          type: string
        definition:
          description: The name of this object's parent definition.  Immutable after creation. Either definitionId or definition must be provided.  If definitionId is provided, definition is ignored.
          type: string
        attributes:
          description: The attributes of the given type populated on this entity. The maximum length of the key is 100.
          type: object
        type:
          description: For entity instances, the platformTypeName of the parent type definition; for classification and relationship instances, the name of the parent type definition.  The value is ignored on input.
          type: string
          readOnly: true
        label:
          description: The user-facing name of this object; the maximum length is 255. Sometimes called the business label.
          type: string
        name:
          description: The name of this object; the maximum length is 1000. For classification instances, the name must be unique among all instances that share the same parentId.
          type: string
        description:
          description: The user description of this instance of metadata; the maximum length is 1000.
          type: string
    entity:
      title: Entity Instance
      description: The entity object in metadata with a resourceId to describe the source of metadata.
      type: object
      allOf:
        - $ref: "#/components/schemas/instance"
        - type: object
          required:
            - resourceId
          properties:
            resourceId:
              type: string
              description: The resource this entity represents; the maximum length is 4000.
            historySettings:
              $ref: "#/components/schemas/entityTypeDefinition/properties/historySettings"
    classification:
      title: Classification Instance
      description: The classification in metadata used to categorize entities.
      type: object
      properties:
        parentId:
          description: The ID of a parent classification.
          type: string
        properties:
          description: A key/value map containing additional properties for the classification.
          type: object
      allOf:
        - $ref: "#/components/schemas/instance"
        - type: object
    relationship:
      title: Relationship Instance
      description: The instance of a relationship definition which relates two entities or classifications.
      type: object
      allOf:
        - $ref: "#/components/schemas/instance"
        - type: object
          required:
            - endpoint1Id
            - endpoint2Id
          properties:
            endpoint1Id:
              description: The id of the instance at the first endpoint.
              type: string
            endpoint1Uri:
              description: The URI of the instance at the first endpoint.  The value is ignored on input.
              type: string
            endpoint2Id:
              description: The id of the instance at the second endpoint.
              type: string
            endpoint2Uri:
              description: The URI of the instance at the second endpoint.  The value is ignored on input.
              type: string
    instanceArchive:
      title: Instance Archive
      description: Collection of instance-related objects, separated by type. On input, the instances are created, updated, or deleted as appropriate; On output, the resulting object from the operation or an error is returned.
      type: object
      properties:
        classifications:
          description: An array that contains classification instances or errors resulting from creating or updating those instances.
          type: array
          items:
            $ref: "#/components/schemas/classification"
        entities:
          description: An array that contains entity instances or errors resulting from creating or updating those instances.
          type: array
          items:
            $ref: "#/components/schemas/entity"
        relationships:
          description: An array that contains relationship instances or errors resulting from creating or updating those instances.
          type: array
          items:
            $ref: "#/components/schemas/relationship"
        deletions:
          description: On input, An array of instance IDs that are to be deleted as part of the operation. On output, a map of instance IDs to an error that was reported during the operation, if any.
          oneOf:
            - type: array
            - type: object
        version:
          description: The version of the media type.
          type: integer
          readOnly: true
    instanceArchiveParameters:
      title: Archive Parameters
      description: Parameters used to retrieve instance archive.
      type: object
      properties:
        version:
          description: The version of the media type.
          type: integer
          readOnly: true
        view:
          description: The name of an existing view. If this property is not provided, the query property must be specified; specifying both is an error.
          type: string
        query:
          description: A Catalog view expression. If this property is not provided, the view property must be specified; specifying both is an error.
          type: string
        parameters:
          description: Query parameters expressed as a map of maps. The key for the outer-most map is the name of a projection referenced in the view or query; the value is a map of property constraints used to restrict the results returned by the query.
          type: object
          additionalProperties:
            type: object
    patch:
      title: JSONPatch document
      description: A JSONPatch document containing the path of the item to add or remove.
      required:
        - op
        - path
      properties:
        op:
          description: Operation to perform; either 'add' (which also updates), or 'remove'. Other patch operations are not supported.
          type: string
          enum:
            - add
            - remove
        path:
          description: >
            The JSON path to the property to be manipulated. The path should start with a leading slash ('/') and reference one of the following fields:
              - name
              - description
              - label
              - attributes. /attributes must be followed with another slash and the name of a single-valued attribute definition that is defined on object's type definition.
          type: string
        value:
          description: The new value of the property for 'add' operations. The value must be compatible with the type modeled on the attribute definition.
          anyOf:
            - type: string
            - type: boolean
            - type: number
            - type: integer
    typeDefinitionCollection:
      title: Type Definition Collection
      description: This is a collection of Type Definitions.
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          properties:
            items:
              type: array
              description: The actual results of a query.
              items:
                anyOf:
                  - $ref: "#/components/schemas/typeDefinitionSummary"
                  - $ref: "#/components/schemas/attributeTypeDefinition"
                  - $ref: "#/components/schemas/classificationTypeDefinition"
                  - $ref: "#/components/schemas/entityTypeDefinition"
                  - $ref: "#/components/schemas/relationshipTypeDefinition"
    typeDefinitionSummary:
      title: Type Definition Summary
      description: >
        A lightweight representation of a Type definition.
      required:
        - name
        - definitionType
      allOf:
        - $ref: "#/components/schemas/instance/allOf/0"
      properties:
        name:
          description: The identity of this type definition; the maximum length is 100. Whitespace characters are not allowed.
          type: string
        label:
          description: The user-presented text to represent this type definition; the maximum length is 100.
          type: string
        description:
          description: The descriptive text for this type definition; the maximum length is 1000.
          type: string
        definitionType:
          description: The type of definition this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - attribute
            - classification
            - entity
            - relationship
    attributeTypeDefinition:
      title: Attribute Type Definition
      description: Attribute Type Definition is a representation of a property type maintained by a Type Definition.
      allOf:
        - $ref: "#/components/schemas/entityTypeDefinition/allOf/0"
      required:
        - attributeKind
      properties:
        definitionType:
          description: The type of definition this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - attribute
        attributeKind:
          description: The classification of this attribute type.
          type: string
          format: enumeration
          enum:
            - UNKNOWN
            - PRIMITIVE
            - COLLECTION
            - ENUM
          default: PRIMITIVE
        elementDefinitions:
          description: The set of elements allowed in the enumeration, if the attributeKind property is 'ENUM'. If the attributeKind property is 'ENUM', this property is required and must contain at least one enumerationTypeElement.
          type: array
          items:
            title: Enumeration Type Element
            description: An enumeration value used in attribute type definitions, where the attributeKind property is 'ENUM'.
            required:
              - ordinal
              - value
            properties:
              ordinal:
                description: The index of this element in the set of elements.
                type: integer
              value:
                description: The user-facing name or value of this element; the maximum length is 100.
                type: string
              label:
                description: The user-facing label for this element; the maximum length is 100.
                type: string
              description:
                description: The user-facing description of this element; the maximum length is 1000.
                type: string
    classificationTypeDefinition:
      title: Classification Type Definition
      description: Classification Type Definition is a representation of a Classification Definition.
      allOf:
        - $ref: "#/components/schemas/entityTypeDefinition/allOf/0"
      properties:
        definitionType:
          description: The type of definition this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - classification
        baseType:
          description: The classification definition type name this type is based upon if applicable.
          type: string
    entityTypeDefinition:
      title: Entity Type Definition
      description: Entity Type Definition is a representation of a Entity Definition.
      allOf:
        - title: Abstract Type Definition
          description: The Abstract Type Definition supports modeling of other type definitions; it is never instantiated.
          allOf:
            - $ref: "#/components/schemas/typeDefinitionSummary"
          discriminator:
            propertyName: definitionType
            mapping:
              attribute: "#/attributeTypeDefinition"
              classification: "#/classificationTypeDefinition"
              entity: "#/entityTypeDefinition"
              relationship: "#/relationshipTypeDefinition"
          properties:
            attributeDefinitions:
              description: >
                A map of key/value pairs representing attribute definitions for the type definition; the keys are strings and the values are attribute definitions.
              type: object
              additionalProperties:
                $ref: "#/components/schemas/attributeDefinition"
            i18nSource:
              description: A message bundle ID that provides localization of various values within the type definition.
              type: string
            requiredCapability:
              description: >
                A map of property names to capabilities that governs the ability to patch the property in an Instance. The principal performing the PATCH operation must have at least one of the listed capabilities in order to allow the operation to succeed on the property named by the key. If this value is not specified, it cannot be modified via a PATCH request.

                At this time, only Entity Instances support the PATCH endpoint; specifying this property on attribute definitions of other types has no effect. Furthermore, only the name, label, description, and attributes properties can be modified through patch; attributes must have the requiredCapability property set on the attribute definition while capabilities for name, label, and description must be set as values within this map.

                Values are listed as space-delimited names of the capability as defined in the Authorization service.
              type: object
              additionalProperties:
                type: string
            inheritedAttributeDefinitions:
              description: >
                A map of key/value pairs representing inherited attribute definitions. The key is the name of the inherited attribute definition, and the value is an inherited attribute definition.
              type: object
              additionalProperties:
                title: Inherited Attribute Definition
                description: >
                  An Inherited Attribute Definition describes properties that can be managed in an Instance, including where this Attribute Definition is inherited from.
                type: object
                required:
                  - name
                  - type
                allOf:
                  - $ref: "#/components/schemas/attributeDefinition"
                properties:
                  source:
                    description: >
                      Describes the source of the inherited attribute definition. The value is the name of the type definition from which the attribute definition is inherited.
                    type: string
                    readOnly: true
      required:
        - platformTypeName
      properties:
        definitionType:
          description: The type of definition this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - entity
        baseType:
          description: The Entity Type Definition name this type is based upon if applicable. Entity type name "base" for "dataSet" is an example.
          type: string
        platformTypeName:
          description: >
            The platform object type name; this is an alias for the type definition name attribute and is expected to match the type definition name. The maximum length is 100.
          type: string
        historySettings:
          title: History Settings
          description: History properties expressed as an object
          type: object
          properties:
            policy:
              description: >
                The history policy to be applied to this object; the maximum length is 20.

                Currently supported policies are:
                  * depth: the parameter is an integer for the number of history records to maintain.
                  * none: no history is maintained.
              type: string
              format: enumeration
              enum:
                - depth
                - none
              default: none
            parameter:
              description: parameters that are used with the policy field; for the depth policy, this should be an integer greater than or equal to zero.
              type: object
            view:
              description: the name of the view definition that describes the subgraph that is maintained when creating new history records; the maximum length is 100.
              type: string
        metaCategory:
          description: >
            Used to categorize how a type of entity/asset should be managed in respect to its peers:
              * PRIMARY - This asset can stand alone within the system, and should be represented in hierarchies/folders, lineage views, and user interfaces. It also indicates that an instance of this type must have a unique resourceId among all instances of this type.
              * CONTAINED - This asset's lifecycle is managed by another asset.
          type: string
          enum:
            - PRIMARY
            - CONTAINED
    relationshipTypeDefinition:
      title: Relationship Type Definition
      description: Relationship Type Definition is a representation of a Relationship Definition.
      allOf:
        - $ref: "#/components/schemas/entityTypeDefinition/allOf/0"
      required:
        - endpointDefinition1
        - endpointDefinition2
      properties:
        definitionType:
          description: The type of definition this represents. Immutable after creation.
          type: string
          format: enumeration
          enum:
            - relationship
        cascadeDelete:
          description: >
            The type of delete behavior this relationship definition should enable when an endpoint of an instance of this relationship is to be deleted.
              * None - No cascade deletion. Only the given endpoint and the relationship will be deleted.
              * SourceToTarget - If the source endpoint (i.e. endpointDefinition1) is to be deleted then it
                will cascade and delete the relationship and the target endpoint (i.e. endpointDefinition2).
              * TargetToSource - If the target endpoint (i.e. endpointDefinition2) is to be deleted then it
                will cascade and delete the relationship and the source endpoint (i.e. endpointDefinition1).
              * Bidirectional - If either the source or target endpoint is to be deleted then it will cascade
                and delete the relationship and the related endpoint.
          type: string
          format: enumeration
          enum:
            - None
            - SourceToTarget
            - TargetToSource
            - Bidirectional
        role:
          description: An indication of the role supported by this relationship.
          type: string
          format: enumeration
          enum:
            - Version
            - Dependent
            - Contains
            - Associated
            - Equivalent
            - Synonymous
            - Parent
          default: Associated
        cardinality:
          description: An indication of the cardinality supported by this relationship.
          type: string
          format: enumeration
          enum:
            - ONE_TO_ONE
            - ONE_TO_MANY
            - MANY_TO_ONE
            - MANY_TO_MANY
          default: MANY_TO_MANY
        preserveReference:
          description: >
            The type of reference preservation this relationship definition should enable when an endpoint of an instance of this relationship is to be deleted. The relationship instance and its endpoints will be still deleted based on the `cascadeDelete` attribute, but if this attribute is set then preservation may occur. If the attribute is not set then no preservation occurs upon delete and there is no restriction on the `cascadeDelete` attribute (see below).

            * EP1 - If the source endpoint (i.e. endpointDefinition1) is to be deleted then it will
              be replaced by an unresolvedReference instance. The `cascadeDelete` attribute must only
              be set to either `None` or `TargetToSource`.
            * EP2 - If the target endpoint (i.e. endpointDefinition2) is to be deleted then it will
              be replaced by an unresolvedReference instance. The `cascadeDelete` attribute must only
              be set to either `None` or `SourceToTarget`.
            * Both - If either the source or target endpoint is to be deleted then it will be replaced
              by an unresolvedReference instance. The `cascadeDelete` attribute must be set to `None`.
          type: string
          nullable: true
          enum:
            - null
            - EP1
            - EP2
            - Both
          default: null
        endpointDefinition1:
          title: Relationship Endpoint Definition
          type: object
          description: >
            A Relationship Endpoint Definition describes the types of entities or classifications that constitute the relationship.
          required:
            - name
          properties:
            name:
              description: The short name of this side of the relationship; the maximum length is 100.
              type: string
            label:
              description: The user-presented text to represent this relationship endpoint; the maximum length is 100.
              type: string
            description:
              description: The descriptive text for this relationship endpoint; the maximum length is 1000.
              type: string
            elementType:
              description: The name of the related type. Immutable after creation.
              type: string
            container:
              description: Indicates whether this relationship contains/manages the endpoint instances.
              type: boolean
        endpointDefinition2:
          $ref: "#/components/schemas/relationshipTypeDefinition/properties/endpointDefinition1"
    typeDefinitionArchive:
      title: Type Definition Archive
      description: >
        Type Definition Archive provides a structure containing the Attribute, Classification, Entity, and Relationship Type Definitions in the Catalog. This is typically used if the entire model is needed, or as an export format.
      properties:
        attributeTypeDefinitions:
          type: array
          description: A list of the Attribute Type Definitions in the Catalog
          items:
            anyOf:
              - $ref: "#/components/schemas/attributeTypeDefinition"
        classificationTypeDefinitions:
          type: array
          description: A list of the Classification Type Definitions in the Catalog
          items:
            anyOf:
              - $ref: "#/components/schemas/classificationTypeDefinition"
        entityTypeDefinitions:
          type: array
          description: A list of the Entity Type Definitions in the Catalog
          items:
            anyOf:
              - $ref: "#/components/schemas/entityTypeDefinition"
        relationshipTypeDefinitions:
          type: array
          description: A list of the Relationship Type Definitions in the Catalog
          items:
            anyOf:
              - $ref: "#/components/schemas/relationshipTypeDefinition"
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
    attributeDefinition:
      title: Attribute Definition
      description: An Attribute Definition describes properties that can be managed in an Instance.
      type: object
      required:
        - name
        - type
      properties:
        name:
          description: The identity of this attribute definition; the maximum length is 100.
          type: string
        label:
          description: The user-presented text to represent this attribute definition; the maximum length is 100.
          type: string
        description:
          description: The descriptive text for this attribute definition; the maximum length is 1000.
          type: string
        type:
          description: The system type the attribute value will have. This is a name of an Attribute Type Definition.
          type: string
        requiredCapability:
          description: >
            A list of capabilities that governs the ability to patch the property in an Instance. The principal performing the PATCH operation must have at least one of the listed capabilities in order to allow the operation to succeed. If this value is not specified, it cannot be modified via a PATCH request.

            At this time, only Entity Instances support the PATCH endpoint; specifying this property on attribute definitions of other types has no effect.

            Values are listed as space-delimited names of the capability as defined in the Authorization service. The maximum length is 1000.
          type: string
        typeCriteria:
          description: The attributes that give criteria for the type from the Attribute Type Definition. The attribute consists of key/value pairs; the maximum length of the key is 100 and the value is an object. Example usages include specifying an array of attribute definitions for a collection-valued attribute, or specifying constraints (such as a maxLength property) on the values modeled by the attribute definition.
          type: object
          additionalProperties: true
        agentProcessing:
          description: >
            Specifies whether this attribute can be subsequently updated by an agent.  Possible values:
              * ignoreIfSet: the agent will not modify this value if it was previously set (non-blank).
              * ignore: the agent will never modify this value.
              * set: the agent will update this value (default).
          type: string
          format: enumeration
          enum:
            - ignoreIfSet
            - ignore
            - set
    searchIndexCollection:
      title: Search Index Collection
      description: Collection of search indices.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains definition resources.
              items:
                $ref: "#/components/schemas/searchIndex"
    searchIndex:
      title: Search Index Definition
      description: Information about search index definition
      type: object
      required:
        - id
        - name
        - typeDefinition
      properties:
        id:
          type: string
          description: the unique identity of this search index. Immutable after creation.
        creationTimeStamp:
          type: string
          description: The date and time this object was created, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        modifiedTimeStamp:
          type: string
          description: The date and time this object was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        createdBy:
          type: string
          description: The identity that created this object. The value is ignored on input.
          readOnly: true
        modifiedBy:
          type: string
          description: the identity that modified this object last. The value is ignored on input.
          readOnly: true
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        name:
          type: string
          description: >
            The name of the index. The name must adhere to the search engine requirements for index names. Currently, these are:
              * Lowercase only</li>
              * Cannot include \, /, *, ?, ", &lt;, &gt;, |, ` ` (space character), ,, #</li>
              * Cannot start with -, _, +</li>
              * Cannot be . or ..</li>
              * Cannot be longer than 255 bytes (note it is bytes, so multi-byte characters will count towards the 255 limit faster)</li>
        label:
          type: string
          description: A label for the index; the maximum length is 100.
        description:
          type: string
          description: A description for the index; the maximum length is 1000.
        aliases:
          type: object
          description: A map of alias name/alias definitions. Alias names follow the same naming rules as index names.
          additionalProperties:
            description: Expected to be empty. May be used in the future.
            type: object
        typeDefinition:
          type: string
          description: The name of the type definition that serves as the 'root' of the index definition.
        properties:
          description: A map that contains index attributes.
          type: object
          additionalProperties:
            description: >
              a map entry describing a property, keyed by property name. Index property names may not contain period characters (e.g. '.'). Note that the underlying search engine may constrain the kinds of changes that can be applied to a property's representation. If the property is an base instance level field (e.g. name, label, description, etc.) it will be pulled from there. Otherwise the value will come from the instance attributes. If the instance is a classification and it's still not present in the attributes, it will be pulled from the properties field. Additionally, properties of the instance's definition can be used in search by prefixing the name with "definition-" (e.g. definition-name)
            type: object
            required:
              - representation
            properties:
              representation:
                type: array
                items:
                  type: string
              freeText:
                description: Indicates this property should be added to free text fields in the index.
                type: string
              stageName:
                description: The name that is searchable for this property.
                type: string
              suggestionsRepresentation:
                description: Specifies which representation to use when performing suggestions on that property.
                type: string
                format: enumeration
                enum:
                  - csv
              facetDisplay:
                description: Indicates that facet should be suppressed when listing facets when the value is 'hidden'.
                type: string
                format: enumeration
                enum:
                  - hidden
              source:
                description: >
                  If specified indicates the property should be populated by the field matching the given source and not the property name key. Same validation rules as the index property name apply.
                type: string
        children:
          description: Information about index children
          type: object
          additionalProperties:
            description: a map entry describing a child of the index, keyed by property name, and consisting of a relationship and a peer entity
            type: object
            required:
              - type
              - peer
            properties:
              name:
                description: the name of the relationship within the index definition.
                type: string
              inverse:
                description: if true, indicates the search index traverses the relationship from endpoint 2 to endpoint 1; otherwise, the search index traverses the relationship from endpoint 1 to endpoint 2
                type: boolean
              properties:
                description: A map that contains index attributes.
                type: object
                additionalProperties:
                  $ref: "#/components/schemas/searchIndex/properties/properties/additionalProperties"
              facetDisplay:
                description: indicates that facet should be suppressed when listing facets when the value is 'hidden'
                type: string
                format: enumeration
                enum:
                  - hidden
              peer:
                description: The endpoint of this relationship
                type: object
                required:
                  - name
                  - typeDefinition
                properties:
                  name:
                    description: The name of the peer in the search index.
                    type: string
                  typeDefinition:
                    description: the name of the type definition for this part of the index. This can refer to an entity or a classification.
                    type: string
                  properties:
                    description: A map that contains index attributes.
                    type: object
                    additionalProperties:
                      $ref: "#/components/schemas/searchIndex/properties/properties/additionalProperties"
                  children:
                    description: Information about index children
                    type: object
                    additionalProperties:
                      $ref: "#/components/schemas/searchIndex/properties/children/additionalProperties"
                  stageName:
                    description: The name that is searchable for this object.
                    type: string
                  facetDisplay:
                    description: indicates that facet should be suppressed when listing facets when the value is 'hidden'
                    type: string
                    format: enumeration
                    enum:
                      - hidden
                  tags:
                    description: an object describing how tags are searchable in the index
                    type: object
                    additionalProperties:
                      $ref: "#/components/schemas/searchIndex/properties/tags/additionalProperties"
                  annotation:
                    description: Information about annotation object
                    type: object
                    additionalProperties:
                      $ref: "#/components/schemas/searchIndex/properties/annotation/additionalProperties"
              stageName:
                description: The name that is searchable for this object.
                type: string
        i18nSource:
          description: A message bundle ID that provides localization of various values within the index.
          type: string
        iconSource:
          description: The reference to an icon resource used for presentation.
          type: string
        tags:
          description: an object describing how tags are searchable in the index
          type: object
          additionalProperties:
            description: an object describing how tags are searchable in the index
            type: object
            required:
              - name
              - stageName
            properties:
              name:
                description: >
                  The name of the tag in the search index. Must be unique across the set of property names for the object where it appears.
                type: string
              stageName:
                description: The name that is searchable for this object.
                type: string
        annotation:
          description: Information about annotation object
          type: object
          additionalProperties:
            description: >
              Describes how annotations are related to the index object. If there is a related annotation, selected properties will replace values on the entity when indexing.
            type: object
            required:
              - relationshipType
              - properties
            properties:
              relationshipType:
                description: >
                  The name of the relationship definition that relates the object referred to by typeDefinition with annotation objects
                type: string
              properties:
                description: >
                  The list of properties that, if present on the annotation, will replace values on the entity when indexing.
                type: array
                items:
                  type: string
        links:
          type: array
          description: The links that apply to the definition search index.
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
    viewCollection:
      title: View Collection
      description: Collection of View definitions.
      type: object
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains definition resources.
              items:
                $ref: "#/components/schemas/view"
    view:
      title: View Definition
      description: Information about a view definition
      type: object
      required:
        - id
        - name
        - query
      properties:
        id:
          type: string
          description: the unique identity of this view. Immutable after creation.
        creationTimeStamp:
          type: string
          description: The date and time this object was created, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        modifiedTimeStamp:
          type: string
          description: The date and time this object was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        createdBy:
          type: string
          description: The identity that created this object. The value is ignored on input.
          readOnly: true
        modifiedBy:
          type: string
          description: the identity that modified this object last. The value is ignored on input.
          readOnly: true
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        name:
          type: string
          description: >
            The name of the view; the maximum length is 100.
        label:
          type: string
          description: A label for the view; the maximum length is 100.
        description:
          type: string
          description: A description for the view; the maximum length is 1000.
        query:
          type: string
          description: The view query; the maximum length is 1000.
        links:
          type: array
          description: The links that apply to the view definition.
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
    agentCollection:
      title: Agent Collection
      type: object
      description: Collection of Agents.
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array of Agent summary representations.
              items:
                $ref: "#/components/schemas/agentSummary"
    agentSummary:
      title: Agent Summary
      description: Summary information about an agent.
      allOf:
        - $ref: "#/components/schemas/instance/allOf/0"
      type: object
      required:
        - name
        - provider
        - parameters
      properties:
        name:
          type: string
          description: the name of this agent; the maximum length is 100.
        description:
          type: string
          description: The descriptive text for this agent; the maximum length is 1000.
        provider:
          type: string
          description: The name of the agent provider; the maximum length is 100. This is automatically prefixed with "CATALOG-" to determine the JES provider name.
        parameters:
          type: object
          description: Provider specific JSON parameters for the agent in the form of a map.
        suppressChangeDetection:
          type: boolean
          description: A hint to the provider that change detection is not needed when this property is set to true. This can be useful, for instance, when agent parameters have changed and necessitate a complete reanalysis of the content generated by the agent.
    agent:
      title: Agent
      description: >
        A Catalog agent representation.

        Note that this representation and a scheduled agent representation can refer to the same object. If the agent properties must be updated but the schedules do not, use this representation; the absence of scheduled triggers in this representation will not remove any schedules associated with the agent.
      type: object
      required:
        - name
        - provider
        - parameters
      allOf:
        - $ref: "#/components/schemas/agentSummary"
        - type: object
          properties:
            jobParameters:
              $ref: "#/components/schemas/agentHistory/properties/jobParameters"
    scheduledAgent:
      title: Scheduled Agent
      description: A Catalog agent with scheduling information.
      type: object
      required:
        - name
      allOf:
        - $ref: "#/components/schemas/agent"
      properties:
        triggers:
          type: array
          description: Schedule triggers used to automate running the agent.
          items:
            required:
              - name
              - type
            properties:
              id:
                type: string
                description: unique identifier for a particular trigger
              type:
                type: string
                description: Specify type of trigger as a String.
                enum:
                  - IMMEDIATE
                  - SIMPLE
                  - CRON
                  - TIMEEVENT
                default: IMMEDIATE
              name:
                type: string
                description: An identifier used in retrieving this trigger
              group:
                type: string
                description: An identifier used in retrieving this trigger
              applicationId:
                type: string
                description: An identifier used to describe the application that created the trigger
              start:
                type: string
                format: date-time
                description: A representation of the time when the scheduler will run the job. This time string expects a format based on the common form of ISO-8601, YYYY-MM-DDTHH:MM:SS.SSSZ, which is year-month-day letter 'T' hour:minute:second and fractions. Used by SIMPLE and CRON types.
              end:
                type: string
                format: date-time
                description: A representation of the time when the scheduler will stop scheduling the job. This time string expects a format based on the common form of ISO-8601, YYYY-MM-DDTHH:MM:SS.SSSZ, which is year-month-day letter 'T' hour:minute:second and fractions. Used by SIMPLE and CRON types.
              repeat:
                type: integer
                description: Set the number of times to repeat the job, given other constraints. "-1" is special, meaning run the job forever. Used by SIMPLE and CRON types.
                default: 1
              interval:
                type: array
                description: Set the spacing between repetition of the job. May be a single non-negative integer referring to the number of interval units for all interval units except WEEKDAY or a list of weekdays for the interval unit of WEEKDAY. Used by SIMPLE and CRON types.
                items:
                  type: string
              intervalUnit:
                type: string
                description: Set the time unit for the spacing between job executions. Used by SIMPLE and CRON types.
                enum:
                  - SECOND
                  - MINUTE
                  - HOUR
                  - DAY
                  - WEEK
                  - WEEKDAY
                  - MONTH
                  - YEAR
                default: DAY
              day:
                type: string
                description: Set the day of the week to run the job, given other constraints. Used by SIMPLE and CRON types.
                enum:
                  - SUNDAY
                  - MONDAY
                  - TUESDAY
                  - WEDNESDAY
                  - THURSDAY
                  - FRIDAY
                  - SATURDAY
                default: MONDAY
              cron:
                type: string
                description: Specify a "cron expression" as a String. A cron expression is a string comprised of 6 or 7 fields separated by white space. For details on the values of the fields, see http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger. Required for CRON type.
              active:
                type: boolean
                description: designates if the associated job will be run based on the definition of this trigger
                default: true
              timeEvent:
                description: Collection of fields used for the TIMEEVENT type. Required for TIMEEVENT type.
                required:
                  - hours
                  - minutes
                  - recurrence
                properties:
                  recurrence:
                    required:
                      - type
                    properties:
                      type:
                        type: string
                        description: RecurrenceType for the recurrence
                        enum:
                          - minutely
                          - hourly
                          - daily
                          - weekly
                          - monthly
                          - yearly
                          - datelist
                      startDate:
                        type: string
                        description: The date to start this recurrence specified as yyyy-mm-dd. Required for all recurrence types except datelist.
                        default: No default
                      endDate:
                        type: string
                        description: The date to end this recurrence specified as yyyy-mm-dd. Used by all recurrence types except datelist.
                        default: No default
                      skipCount:
                        type: integer
                        description: The number of interval units to skip, defaults to 1 meaning no skip. Used by all recurrence types except datelist.
                        default: 1
                      daysOfWeek:
                        type: array
                        description: a list of weekdays. Required for weekly recurrence type. Used by monthly and yearly recurrence types in conjunction with occurrence but should contain only one weekday for these types.
                        items:
                          type: string
                          enum:
                            - sunday
                            - monday
                            - tuesday
                            - wednesday
                            - thursday
                            - friday
                            - saturday
                          default: No default
                      occurrence:
                        type: string
                        description: Ordinal value representing a specific week instance. Used by monthly and yearly recurrence types in conjunction with daysOfWeek.
                        enum:
                          - first
                          - second
                          - third
                          - fourth
                          - last
                        default: No default
                      dayOfMonth:
                        type: string
                        description: The specific numerical value for a day. Range is from 1 to 32. 32 is a special value meaning the last day of the month, no matter how many days the month has. If a day is specified but does not exist, the job is skipped. Used by monthly and yearly recurrence types as an alternative to occurrence and daysOfWeek.
                        default: No default
                      monthOfYear:
                        type: string
                        description: The month to run the job. Required for yearly recurrence type.
                        enum:
                          - January
                          - February
                          - March
                          - April
                          - May
                          - June
                          - July
                          - August
                          - September
                          - October
                          - November
                          - December
                        default: No default
                      dates:
                        description: a list of dates using format yyyy-mm-dd. Required for the datelist recurrence type.
                        type: array
                        items:
                          type: string
                        default: No default
                      expression:
                        type: string
                        description: A scheduler specific opaque field.  Not currently used by this scheduler
                        default: No default
                  hours:
                    type: string
                    description: comma-separated list of hours for a TimeEvent trigger. Values should be between 0 and 23, inclusive.
                  minutes:
                    type: string
                    description: comma-separated list of minutes for a TimeEvent trigger. Values should be between 0 and 59, inclusive.
                  timezone:
                    type: string
                    description: timezone used to interpret hours:minutes for TimeEvent trigger
                    default: GMT
                  maxOccurrence:
                    type: string
                    description: number of times to run the TimeEvent job. The default of -1 means no maximum
                    default: "-1"
    agentPreview:
      title: Agent Preview
      description: Used to preview the enumeration phase of a bot run.
      type: object
      properties:
        version:
          type: integer
          description: The version of the media type. The value is ignored on input.
          readOnly: true
        status:
          type: string
          description: the status of the bot preview as reported thru the Job Execution Service.
          readOnly: true
        creationTimeStamp:
          type: string
          description: The date and time this bot preview was started, in the format of YYYY-MM-DDThh:mm:ss.sssZ.
          format: date-time
          readOnly: true
        nEnumerated:
          type: integer
          description: The number of tables/files that were enumerated during the preview.
          readOnly: true
        nExcluded:
          type: integer
          description: The number of tables/files that were excluded by bot filter rules.
          readOnly: true
        error:
          $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
        links:
          type: array
          description: The links that apply to the preview.
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
    agentHistoryCollection:
      title: Agent History Collection
      type: object
      description: Collection of Agent history records.
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains Agent history records.
              items:
                $ref: "#/components/schemas/agentHistory"
    agentHistory:
      title: Agent History
      description: Agent History is used to report agent execution metrics.
      type: object
      properties:
        version:
          type: integer
          description: The version of the media type. The value is ignored on input.
          readOnly: true
        id:
          type: string
          description: The id of this Agent run.
          readOnly: true
        status:
          type: string
          description: the status of the Agent execution as reported thru the Job Execution Service.
          readOnly: true
        createdBy:
          type: string
          description: The identity that created this object by running the Agent.
          readOnly: true
        creationTimeStamp:
          type: string
          description: The date and time this Agent run was started, in the format of YYYY-MM-DDThh:mm:ss.sssZ.
          format: date-time
          readOnly: true
        endTimeStamp:
          type: string
          description: The date and time this Agent run was completed, in the format of YYYY-MM-DDThh:mm:ss.sssZ.
          format: date-time
          readOnly: true
        nEnumerated:
          type: integer
          description: The number of tables/files that were enumerated during Agent execution.
          readOnly: true
        nExcluded:
          type: integer
          description: The number of tables/files that were excluded by Agent filter rules.
          readOnly: true
        nAdded:
          type: integer
          description: The number of newly recognized tables/files that were added during Agent execution.
          readOnly: true
        nUpdated:
          type: integer
          description: The number of existing tables/files that were updated during Agent execution.
          readOnly: true
        nRemoved:
          type: integer
          description: The number of existing tables/files that were removed during Agent execution, either because they are no longer present or they did not pass the Agent filter rules.
          readOnly: true
        averageRunTime:
          type: integer
          description: The average runtime of the Agent, expressed in seconds.
          readOnly: true
        suppressChangeDetection:
          type: boolean
          description: A hint to the provider that change detection is not needed when this property is set to true. This can be useful, for instance, when agent parameters have changed and necessitate a complete reanalysis of the content generated by the agent.
        parameters:
          type: object
          description: Provider specific JSON parameters for the agent in the form of a map.
        jobParameters:
          type: object
          description: >
            Additional parameters to be used during agent execution. jobParameters is a map of string values, keyed by string values, whose interpretation is left to the provider.
          properties:
            featureToggleDefault:
              type: string
              description: >
                Governs the state of feature toggles. Unless a parameter is explicitly provided or has a default value enumerated, a parameter will default to the value of featureToggleDefault. Defaults to 1.
            testPerformance:
              type: string
              description: Indicates whether to collects time and space requirements for a unit of work within the agent. Defaults to 0.
            crawlInMemory:
              type: string
              description: Indicates whether to analyze CAS in-memory tables. CAS only. Defaults to 1.
            crawlPersist:
              type: string
              description: Indicates whether to analyze CAS persisted tables. CAS only. Defaults to 1.
            suppressMessage:
              type: string
              description: Indicates whether to print the disposition of CAS Actions in the log. CAS only. Defaults to 1.
            doTemporalChanges:
              type: string
              description: Indicates whether to collect the time period covered in a dataset. Defaults to `featureToggleDefault`.
            discoverOutliers:
              type: string
              description: Indicates whether to collect outliers. Defaults to `featureToggleDefault`.
            genObsFrequency:
              type: string
              description: >
                Indicates whether to perform a best estimate on the frequency of observations found in a dataset (i.e. hourly, weekly, monthly, yearly). Defaults to `featureToggleDefault`.
            getMostImportantFields:
              type: string
              description: Indicates whether to identify the most important columns in a dataset. Defaults to `featureToggleDefault`.
            analyzeSentiment:
              type: string
              description: Indicates whether sentiment analysis is performed. CAS only. Defaults to `featureToggleDefault`.
            minNumSentimentIDWords:
              type: string
              description: The minimum number of words per observation/row required for sentiment analysis. CAS only. Defaults to 3.
            minSentimentIDLen:
              type: string
              description: The minimum length of an observation for a column to be used for sentiment analysis. CAS only. Defaults to 10.
            correlateColumns:
              type: string
              description: >
                Indicates whether correlation analysis is performed on columns within dataset.  Defaults to `featureToggleDefault`.
            corrDistinctCountLimit:
              type: string
              description: The maximum number of levels to examine for correlations. CAS only. Defaults to 256.
            getSemanticID:
              type: string
              description: >
                Indicates whether to perform entity identification on the columns in a dataset. Uses the given `dataLocale`. Defaults to `featureToggleDefault`.
            idScoreThreshold:
              type: string
              description: The minimum score needed for a column to be identified during entity identification. Defaults to 100.
            minNumRowsFN:
              type: string
              description: The minimum number of rows required for entity identification of a column as FAMILY NAME. Defaults to 100.
            minNumUniqueFN:
              type: string
              description: The minimum number of unique values in a column required for entity identification as FAMILY NAME. Defaults to 20.
            getNLPSemanticID:
              type: string
              description: >
                Indicates whether to perform NLP tagging on columns that could not be identified with traditional entity identification. Defaults to `featureToggleDefault`.
            nlpEntityThresholdPct:
              type: string
              description: The minimum percent of rows identified required for NLP tagging. Compute only. Defaults to 50.
            maxNumTextMineVars:
              type: string
              description: The maximum number of columns to mine in a dataset. Defaults to 10.
            minNumTextMineWords:
              type: string
              description: The minimum number of words per observation/row required for text mining. Defaults to 10.
            minNumTextMineRows:
              type: string
              description: The minimum number of rows in a column for it to be mined. Defaults to 10.
            minTextMineLen:
              type: string
              description: The minimum length of an observation for a column to be used for text mining. Defaults to 50.
            identifyLanguage:
              type: string
              description: Indicates whether to identify languages used in a dataset. CAS only. Defaults to `featureToggleDefault`.
            langIDPctCutoff:
              type: string
              description: The minimum frequency percentage for a language to be identified in a dataset. CAS only. Defaults to .1 (or 10%).
            minNumLangIDWords:
              type: string
              description: The minimum number of words per observation/row required for language identification. CAS only. Defaults to 5.
            minLangIDLen:
              type: string
              description: The minimum length of a column for a column to be used for language identification. CAS only. Defaults to 50.
            maskOffensive:
              type: string
              description: >
                Indicates whether to mask offensive words found in a dataset. Uses the given `dataLocale`. Defaults to `featureToggleDefault`.
            maskStartList:
              type: string
              description: A comma-delimited list of words to be tagged as offensive even though they were not considered profane (i.e. false negative).
            maskStopList:
              type: string
              description: A comma-delimited list of words to not be tagged as offensive even though they were considered profane (i.e. false positive).
            mineForKeywords:
              type: string
              description: Indicates whether to perform text mining on columns in a dataset to collect keywords. Defaults to `featureToggleDefault`.
            predictTopic:
              type: string
              description: Indicates whether to perform topic analysis on a dataset. Defaults to 0.
            minTermDocFreq:
              type: string
              description: The minimum frequency for a term in topic analysis. Defaults to 5.
            maxColumns:
              type: string
              description: The maximum number of columns to analyze in a dataset. Defaults to 200.
            longStrLength:
              type: string
              description: The maximum length of an observation to be used for analysis. Defaults to 300 in CAS and 250 in Compute.
            ordinalCols:
              type: string
              description: Identifies the columns in a dataset to be analyzed using a comma-delimited list of ordinal positions. Ordinal position used 1-based indexing.
            ordinalColRange:
              type: string
              description: Identifies the columns in a dataset to analyze using the format "x-y" to limit analysis to columns between indices x and y (inclusive).
            maxDataSize:
              type: string
              description: The maximum dataset size when processing topN/bottomN and outliers. CAS only. Defaults to 50000000.
            timeseriesCutoff:
              type: string
              description: The threshold on whether or not to recommend a time series graph. Defaults to 50.
            bestChartCutoff:
              type: string
              description: The maximum number of levels (or frequency) after which to suggest a 'box' plot. Defaults to 20.
            intervalCutoff:
              type: string
              description: The maximum number of levels (or frequency) after which to suggest a 'interval` scale. Defaults to 20.
            topnlevelsToGet:
              type: string
              description: The maximum number of levels (or frequency) to calculate for topN and bottomN. Defaults to 20.
            maxCharLength:
              type: string
              description: The maximum length of an observation for which to count distinct values for a column. Compute only. Defaults to 10900.
            rowSizeThreshold:
              type: string
              description: A threshold for which to use sampling for other metrics. Defaults to 200000.
            samplePercent:
              type: string
              description: The sampling percentage to use on large datasets when dataset size exceeds `rowSizeThreshold`. CAS only. Defaults to 20 or 20%.
            sampleSize:
              type: string
              description: >
                The size of the dataset to use for entity identification, keyword mining, language guessing, and sentiment analysis. Defaults to 500.
            sampleSizeSemanticID:
              type: string
              description: The sample size of the dataset to use for entity identification. Defaults to `sampleSize`.
            sampleSizeNLPSemanticID:
              type: string
              description: The sample size of the dataset to use for NLP tagging. Defaults to `sampleSize`.
            sampleSizeKeywords:
              type: string
              description: The sample size of the dataset to use for keyword mining. Defaults to `sampleSize`.
            sampleSizeLangGuess:
              type: string
              description: The sample size of the dataset to use for language guessing/identification. CAS only. Defaults to `sampleSize`.
            sampleSizeSentiment:
              type: string
              description: The sample size of the dataset to use for sentiment analysis. CAS only. Defaults to `sampleSize`.
            sampleUnivar:
              type: string
              description: >
                Indicates whether to use sampling when completing univariate analysis; otherwise some computations will not be performed. Compute only. Defaults to 1.
            sampleSizeUnivar:
              type: string
              description: The sample size of the dataset to use for univariate analysis. Compute only. Defaults to 65526.
            sampleSizeCorrelations:
              type: string
              description: The sample size of the dataset to use for identifying correlations. Compute only. Defaults to 10000.
          additionalProperties:
            type: string
        error:
          $ref: "#/paths/~1definitions/post/responses/409/content/application~1vnd.sas.error%2Bjson/schema"
        links:
          type: array
          description: The links that apply to the object. The value is ignored on input.
          items:
            $ref: "#/components/schemas/tag/properties/links/items"
          readOnly: true
    adhocAnalysisJob:
      title: Adhoc Analysis Job
      description: Information about an Adhoc Analysis Job.
      type: object
      required:
        - name
        - provider
        - resources
      properties:
        name:
          type: string
          description: the name of this job; the maximum length is 100.
        description:
          type: string
          description: The descriptive text for this job; the maximum length is 1000.
        provider:
          type: string
          description: The name of the job provider; the maximum length is 100. This is automatically prefixed with "CATALOG-" to determine the JES provider name.
        resources:
          type: array
          description: An array of resources to analyze.
          items:
            type: object
            properties:
              uri:
                type: string
                description: The URI of the resource to analyze.
              type:
                type: string
                description: The entity type definition name of the resource.
        jobParameters:
          $ref: "#/components/schemas/agentHistory/properties/jobParameters"
    adhocAnalysisJobCollection:
      title: Adhoc Analysis Job Collection
      type: object
      description: Collection of Adhoc Analysis jobs.
      allOf:
        - $ref: "#/components/schemas/tagCollection/allOf/0"
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array of Adhoc Analysis Job summary representations.
              items:
                $ref: "#/paths/~1bots~1adhocAnalysisJobs/post/responses/201/content/application~1json/schema"
    tagCollection:
      title: Tag Collection
      description: Collection of Tags.
      type: object
      allOf:
        - title: Base Collection
          description: This is a base schema used to define paginated collections of resources. This base schema is extended by other schemas in APIs by adding an 'items' array property. These extensions define the application/vnd.sas.collection media type (version 2)
          properties:
            name:
              type: string
              description: The name of the collection.
            start:
              type: integer
              description: The zero-based index of the first item in the collection.
              format: int64
            limit:
              type: integer
              description: The number of items that were requested for the collection.
            count:
              type: integer
              description: If populated indicates the number of items in the collection.
              format: int64
            accept:
              type: string
              description: A space-delimited list of media types from which an `Accept` header may be constructed.
            links:
              type: array
              description: The links that apply to the collection.
              items:
                $ref: "#/components/schemas/tag/properties/links/items"
            version:
              type: integer
              description: The version number of the collection representation. This representation is version 2.
        - type: object
          required:
            - items
          properties:
            items:
              type: array
              description: An array that contains tag resources.
              items:
                $ref: "#/paths/~1tags/post/responses/201/content/application~1vnd.sas.metadata.tag.summary%2Bjson/schema"
    tag:
      title: Tag
      description: >
        Information about a tag. Currently tags only supports tagging entities. Only `/catalog/instances/{id}` is accepted for the template property within members.
      type: object
      required:
        - id
        - name
      properties:
        id:
          type: string
          description: The unique identifier of this tag. Immutable after creation.
        name:
          type: string
          description: The name of the tag; the maximum length is 100.
        creationTimeStamp:
          type: string
          description: The date and time this object was created, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        modifiedTimeStamp:
          type: string
          description: The date and time this object was last modified, in the format of YYYY-MM-DDThh:mm:ss.sssZ. The value is ignored on input.
          format: date-time
          readOnly: true
        createdBy:
          type: string
          description: The identity that created this object. The value is ignored on input.
          readOnly: true
        modifiedBy:
          type: string
          description: The identity that modified this object last. The value is ignored on input.
          readOnly: true
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        links:
          type: array
          description: The links that apply to the tag.
          items:
            title: Link
            type: object
            description: A link to a related operation or resource.
            required:
              - rel
            properties:
              method:
                type: string
                description: The HTTP method for the link.
              rel:
                type: string
                description: The relationship of the link to the resource.
              uri:
                type: string
                description: The relative URI for the link.
              href:
                type: string
                description: The URL for the link.
              title:
                type: string
                description: The title for the link.
              type:
                type: string
                description: The media type or link type for the link.
              itemType:
                type: string
                description: If this is a link to a container, `itemType` is the media type or link type for the items in the container.
              responseType:
                type: string
                description: The media type or link type of the response body for a `PUT`, `POST`, or `PATCH` operation.
              responseItemType:
                type: string
                description: The media type or link type of the items in the response body for a `PUT`, `POST`, or `PATCH` operation.
        members:
          $ref: "#/paths/~1deletions/post/requestBody/content/application~1vnd.sas.selection%2Bjson/schema"
    tagPatchArchive:
      title: Tag Patch Archive
      description: An archive containing sets of JSON Patch operations to apply to Tags.
      type: object
      properties:
        version:
          type: integer
          description: The version of the media type.
          readOnly: true
        tags:
          type: object
          description: >
            The sets of JSON Patch operations to apply to Tags. They key is the ID of the tag to perform the operations on (or a new ID if creating a tag).
          additionalProperties:
            title: Tag Patch Array
            description: An array of patch operations for tags.
            type: array
            items:
              title: Tag JSONPatch Operation
              description: A JSONPatch document containing the operations to be performed on the defined tag.
              type: object
              required:
                - op
                - path
              properties:
                op:
                  description: >
                    The type of operation to be performed on the defined tag; either 'add' (which also updates), or 'remove'. Other patch operations are not supported.
                  type: string
                  enum:
                    - add
                    - remove
                path:
                  description: The URI of the tag or the JSON path to the property to be manipulated.
                  type: string
                value:
                  description: The new value of the property for 'add' operations. The value must be compatible with the type expected at the given path.
                  anyOf:
                    - type: string
                    - $ref: "#/components/schemas/tag"
