Type alias TimestampProperty

TimestampProperty: {
    description?: string;
    properties: {
        timestamp: {
            format?: "date-time";
            type: "string";
        };
        type: {
            const: "date-time";
            type: "string";
        };
    };
    required: ["type", "timestamp"];
    title: string;
    type: "object";
}

Represents timestamp property schema for credential attributes.

Type declaration

  • Optional description?: string

    Optional description of the property.

  • properties: {
        timestamp: {
            format?: "date-time";
            type: "string";
        };
        type: {
            const: "date-time";
            type: "string";
        };
    }

    Schema properties for the timestamp object.

    • timestamp: {
          format?: "date-time";
          type: "string";
      }

      Schema for the timestamp field.

      • Optional format?: "date-time"

        Optional format specification.

      • type: "string"

        The timestamp field is a string.

    • type: {
          const: "date-time";
          type: "string";
      }

      Schema for the type field.

      • const: "date-time"

        The type field must be 'date-time'.

      • type: "string"

        The type field is a string.

  • required: ["type", "timestamp"]

    Required fields for the timestamp property.

  • title: string

    The title of the property.

  • type: "object"

    Indicates this is an object type property.

Generated using TypeDoc