core/subclass_metadata-1.0.0

Metadata on a serialized subclass of an ASDF-enabled type.

Description

Identifies the specific subclass that was serialized, to enable ASDF readers to correctly deserialize the object.

Outline

Schema Definitions

This type is an object with the following properties:

  • name

    stringRequired

    The name of the subclass that represents this object when deserialized.

    No length restriction

Original Schema

%YAML 1.1
---
$schema: "http://stsci.edu/schemas/yaml-schema/draft-01"
id: "http://stsci.edu/schemas/asdf/core/subclass_metadata-1.0.0"
title: |
  Metadata on a serialized subclass of an ASDF-enabled type.
description: |
  Identifies the specific subclass that was serialized,
  to enable ASDF readers to correctly deserialize the object.

type: object
properties:
  name:
    description: |
      The name of the subclass that represents this object
      when deserialized.
    type: string

required: [name]
...