/**
 * This file was automatically generated by json-schema-to-typescript.
 * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
 * and run json-schema-to-typescript to regenerate this file.
 */
export type ArgsV3_8_0 = string | ContentObjectSchemaV3_8_0;
export type ContentObjectSchemaV3_8_0 = AllOfSchemaV3_8_0 | OneOfSchemaV3_8_0 | RefSchemaV3_8_0 | RefSchemaLegacyV3_8_0 | ObjectSchemaV3_8_0 | ArraySchemaV3_8_0;
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "ref".
 */
export type RefV3_8_0 = string;
export type ObjectSchemaV3_8_0 = ContentSchemaV3_8_0 & {
    type: 'object';
    properties: {
        [k: string]: ContentSchemaV3_8_0;
    };
};
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "fieldMapping".
 */
export type FieldMappingV3_8_0 = string | string[];
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "resolver".
 */
export type ResolverV3_8_0 = BasicResolverV3_8_0 | ComposeResolverV3_8_0;
/**
 * A tuple with a string directive name, and options to pass to the directive
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "directiveConfigItem".
 */
export type DirectiveConfigItemV3_8_0 = [DirectiveNameV3_8_0, DirectiveOptionsV3_8_0];
export type DirectiveNameV3_8_0 = string;
/**
 * An array of individual directive config items to process in order
 *
 * This interface was referenced by `DirectiveMappingMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "directiveConfig".
 */
export type DirectiveConfigV3_8_0 = DirectiveConfigItemV3_8_0[];
/**
 * A tuple with a string key and a directive config to evaluate
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "directiveMappingArrayItem".
 */
export type DirectiveMappingArrayItemV3_8_0 = [string, DirectiveConfigV3_8_0];
/**
 * An array of key / value or directive config tuples
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "directiveMappingArray".
 */
export type DirectiveMappingArrayV3_8_0 = DirectiveMappingArrayItemV3_8_0[];
/**
 * An object describing an operation to generate a parameter.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOp".
 */
export type ParameterOpV3_8_0 = ParameterOpNestedV3_8_0 | ParameterOpValueV3_8_0 | ParameterOpMappingV3_8_0 | ParameterOpOpV3_8_0;
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOpList".
 */
export type ParameterOpListV3_8_0 = ParameterOpV3_8_0[];
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "arraySchema".
 */
export type ArraySchemaV3_8_0 = ContentSchemaV3_8_0 & {
    type: 'array';
    items: ContentObjectSchemaV3_8_0;
};
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "returnShape".
 */
export type ReturnShapeV3_8_0 = string | ArraySchemaV3_8_0;
/**
 * Options to be passed to the serialization routine.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeOptions".
 *
 * This interface was referenced by `undefined`'s JSON-Schema definition
 * via the `patternProperty` "^[^\n\r]*$".
 */
export type ParameterSerializeOptionsV3_8_0 = ParameterSerializeStyleOptionsV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
export type ModelTypeV3_8_0 = 'single' | 'multiple' | 'taxonomy';
/**
 * Human-readable id for use in the UI
 */
export type WorkflowNameV3_8_0 = string;
/**
 * machine-readable slug
 */
export type NameV3_8_0 = string;
/**
 * Human-readable id for use in the UI
 */
export type TitleV3_8_0 = string;
export type DescriptionV3_8_0 = string;
/**
 * Hex color code
 */
export type ColorV3_8_0 = string;
/**
 * Value to indicate whether items in the state should be returned in list queries
 */
export type LiveV3_8_0 = boolean;
/**
 * machine-readable id
 */
export type KeyV3_8_0 = string;
export type StepsV3_8_0 = WorkflowStepV3_8_0[];
/**
 * The general type of this service, specifying how and where it will be utilized.
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "serviceType".
 */
export type ServiceTypeV3_8_0 = 'deployment' | 'authentication' | 'takeshape' | 'rest' | 'graphql' | 'openapi' | 'aws' | 'unknown';
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "shapeWithObjectSchema".
 */
export type ShapeWithObjectSchemaV3_8_0 = ShapeJSONV3_8_0 & {
    schema: ObjectSchemaV3_8_0;
};
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "searchParamsAuthentication".
 */
export type SearchParamsAuthenticationV3_8_0 = {
    name: string;
    value: string;
}[];
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "serviceAuthentication".
 */
export type ServiceAuthenticationV3_8_0 = OAuth2AuthenticationV3_8_0 | OAuth2BearerAuthenticationV3_8_0 | BearerAuthenticationV3_8_0 | BasicAuthenticationV3_8_0 | SearchParamsAuthenticationV3_8_0 | AWSAuthenticationV3_8_0 | CustomAuthenticationV3_8_0;
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "anyServiceConfig".
 */
export type AnyServiceConfigV3_8_0 = ServiceConfigJSONV3_8_0 | ServiceConfigV3_8_0;
export interface ProjectSchemaJSONV3_8_0 {
    $schema?: string;
    /**
     * This is the revision number of your schema. Every time your project schema is updated, this value should be incremented.
     */
    version: number;
    /**
     * The version of the TakeShape API your project is using. We increase the version as we make breaking changes to the API endpoints.
     */
    apiVersion: string;
    /**
     * The version of the schema format your project is using. We increase the version as we make breaking changes to the schema format.
     */
    schemaVersion: '3.8.0';
    /**
     * The ID of the TakeShape project this schema belongs to.
     */
    projectId: string;
    /**
     * The ID of the TakeShape user who created the schema.
     */
    author?: string;
    /**
     * The date the schema was created
     */
    created: string;
    /**
     * The date the schema was last updated
     */
    updated: string;
    deactivated?: number;
    /**
     * The locale that should be preferred when creating new Shape items. This must be an entry in the locales array.
     */
    defaultLocale: string;
    locales: string[];
    queries: QueryMapV3_8_0;
    mutations: QueryMapV3_8_0;
    shapes: ShapeMapV3_8_0;
    indexedShapes?: IndexedShapeMapV3_8_0;
    forms?: FormMapV3_8_0;
    workflows: WorkflowMapV3_8_0;
    dataKey: string;
    services?: ServiceMapJSONV3_8_0;
}
export interface QueryMapV3_8_0 {
    [k: string]: QueryJSONV3_8_0;
}
/**
 * This interface was referenced by `QueryMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "^[0-9A-Za-z_]+$".
 */
export interface QueryJSONV3_8_0 {
    args?: ArgsV3_8_0;
    resolver: ResolverV3_8_0;
    shape: ReturnShapeV3_8_0;
    /**
     * Provides more detail about what the query or mutation is for. This will be displayed in the automatically-generated GraphQL API docs.
     */
    description?: string;
    [k: string]: any;
}
export interface AllOfSchemaV3_8_0 {
    allOf: (RefSchemaV3_8_0 | RefSchemaLegacyV3_8_0 | ObjectSchemaV3_8_0)[];
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "refSchema".
 */
export interface RefSchemaV3_8_0 {
    '@ref': RefV3_8_0;
    [k: string]: any;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "refSchemaLegacy".
 */
export interface RefSchemaLegacyV3_8_0 {
    $ref: RefV3_8_0;
    [k: string]: any;
}
export interface ContentSchemaV3_8_0 {
    $id?: string;
    $schema?: string;
    $ref?: string;
    $comment?: string;
    title?: string;
    description?: string;
    default?: any;
    readOnly?: boolean;
    examples?: any[];
    multipleOf?: number;
    maximum?: number;
    exclusiveMaximum?: number;
    minimum?: number;
    exclusiveMinimum?: number;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeInteger".
     */
    maxLength?: number;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeIntegerDefault0".
     */
    minLength?: number;
    pattern?: string;
    additionalItems?: ContentSchemaV3_8_0;
    items?: ContentSchemaV3_8_0;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeInteger".
     */
    maxItems?: number;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeIntegerDefault0".
     */
    minItems?: number;
    uniqueItems?: boolean;
    contains?: ContentSchemaV3_8_0;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeInteger".
     */
    maxProperties?: number;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "nonNegativeIntegerDefault0".
     */
    minProperties?: number;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "stringArray".
     */
    required?: string[];
    additionalProperties?: ContentSchemaV3_8_0 | false;
    definitions?: {
        [k: string]: ContentSchemaV3_8_0;
    };
    properties?: {
        [k: string]: ContentSchemaV3_8_0;
    };
    patternProperties?: {
        [k: string]: ContentSchemaV3_8_0;
    };
    dependencies?: {
        [k: string]: ContentSchemaV3_8_0 | string[];
    };
    propertyNames?: ContentSchemaV3_8_0;
    const?: any;
    enum?: any[];
    type?: ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string') | ('array' | 'boolean' | 'integer' | 'null' | 'number' | 'object' | 'string')[];
    format?: string;
    contentMediaType?: string;
    contentEncoding?: string;
    if?: ContentSchemaV3_8_0;
    then?: ContentSchemaV3_8_0;
    else?: ContentSchemaV3_8_0;
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "schemaArray".
     */
    allOf?: ContentSchemaV3_8_0[];
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "schemaArray".
     */
    anyOf?: ContentSchemaV3_8_0[];
    /**
     * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
     * via the `definition` "schemaArray".
     */
    oneOf?: ContentSchemaV3_8_0[];
    not?: ContentSchemaV3_8_0;
    '@relationship'?: RelationshipV3_8_0;
    '@syncLocaleStructure'?: boolean;
    '@sensitive'?: boolean;
    '@draftjs'?: boolean;
    '@l10n'?: boolean;
    '@key'?: string;
    '@workflow'?: string;
    '@mapping'?: FieldMappingV3_8_0;
    '@tag'?: string;
    '@tags'?: string[];
    '@deprecationReason'?: string;
    '@user'?: boolean;
    '@args'?: ArgsV3_8_0;
    '@resolver'?: ResolverV3_8_0;
    '@ref'?: RefV3_8_0;
    '@derivedFrom'?: string;
    value?: string;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "relationship".
 */
export interface RelationshipV3_8_0 {
    shapeIds: string[];
    type?: string;
    relatedName?: string;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "basicResolver".
 */
export interface BasicResolverV3_8_0 {
    if?: string;
    id?: string;
    /**
     * The name of the built-in resolver your query or mutation should use.
     */
    name: string;
    /**
     * Specifies the service configuration the resolver should use, identified by a connected service's slug. This configuration contains the endpoint and authentication necessary to make API calls.
     */
    service: string;
    /**
     * Maps a query's input args to the input expected by the service's endpoint.
     */
    argsMapping?: DirectiveMappingMapV3_8_0 | DirectiveConfigV3_8_0;
    searchParamsMapping?: DirectiveMappingArrayV3_8_0;
    /**
     * Maps a service endpoint's response results to the expected shape of the query's response.
     */
    resultsMapping?: DirectiveMappingMapV3_8_0 | DirectiveConfigV3_8_0;
    options?: {
        model?: string;
        [k: string]: any;
    };
    body?: ParameterConfigForBodyV3_8_0;
    form?: ParameterConfigForSearchParamsV3_8_0;
    headers?: ParameterConfigForHeadersV3_8_0;
    json?: ParameterConfigForJsonV3_8_0;
    pathParams?: ParameterConfigForPathParamsV3_8_0;
    searchParams?: ParameterConfigForSearchParamsV3_8_0;
    args?: ParameterConfigForJsonV3_8_0;
    results?: ParameterConfigForJsonV3_8_0;
}
/**
 * An map of object keys / key paths to directive configs
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "directiveMappingMap".
 */
export interface DirectiveMappingMapV3_8_0 {
    [k: string]: DirectiveConfigV3_8_0;
}
export interface DirectiveOptionsV3_8_0 {
    [k: string]: any;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfigForBody".
 */
export interface ParameterConfigForBodyV3_8_0 {
    ops: ParameterOpListV3_8_0;
    serialize?: ParameterSerializeConfigForBodyV3_8_0;
}
/**
 * An object describing an operation to generate a parameter, using a nested OpList.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOpNested".
 */
export interface ParameterOpNestedV3_8_0 {
    /**
     * A path to the parameter for this operation.
     */
    path: string;
    /**
     * A mode for this parameter's operation.
     */
    op?: 'set' | 'concat' | 'extend' | 'remove';
    ops: ParameterOpListV3_8_0;
}
/**
 * An object describing an operation to generate a parameter using a value.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOpValue".
 */
export interface ParameterOpValueV3_8_0 {
    /**
     * A path to the parameter for this operation.
     */
    path: string;
    /**
     * A mode for this parameter's operation.
     */
    op?: 'set' | 'concat' | 'extend' | 'remove';
    /**
     * A value to set directly at this path.
     */
    value: number | string | boolean | {
        [k: string]: any;
    } | any[] | null;
}
/**
 * An object describing an operation to generate a parameter using a mapping.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOpMapping".
 */
export interface ParameterOpMappingV3_8_0 {
    /**
     * A path to the parameter for this operation.
     */
    path: string;
    /**
     * A mode for this parameter's operation.
     */
    op?: 'set' | 'concat' | 'extend' | 'remove';
    /**
     * Either a valid JSONPath or a directive pipeline to evaluate against the query context.
     */
    mapping: string | DirectiveConfigV3_8_0;
}
/**
 * An object describing an operation to generate a parameter using a mapping.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterOpOp".
 */
export interface ParameterOpOpV3_8_0 {
    /**
     * A path to the parameter for this operation.
     */
    path: string;
    /**
     * A mode for this parameter's operation.
     */
    op: 'set' | 'concat' | 'extend' | 'remove';
}
/**
 * Top-level paths to use serialization options for.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeConfigForBody".
 */
export interface ParameterSerializeConfigForBodyV3_8_0 {
    content?: ParameterSerializeContentOptionsV3_8_0;
}
/**
 * Options to be passed to the serialization routine.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeContentOptions".
 */
export interface ParameterSerializeContentOptionsV3_8_0 {
    contentType: 'application/json' | 'application/x-www-form-urlencoded' | 'text/csv';
    /**
     * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
     */
    allowReserved?: boolean;
    skipEncoding?: boolean;
    /**
     * Options to be passed directly to the content serializer library. Valid options depend upon your contentType.
     */
    options?: {
        [k: string]: any;
    };
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfigForSearchParams".
 */
export interface ParameterConfigForSearchParamsV3_8_0 {
    ops: ParameterOpListV3_8_0;
    serialize?: ParameterSerializeConfigForSearchParamsV3_8_0;
}
/**
 * Top-level paths to use search params serialization options for.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeConfigForSearchParams".
 */
export interface ParameterSerializeConfigForSearchParamsV3_8_0 {
    defaults?: ParameterSerializeStyleOptionsForSearchParamsV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    paths?: {
        /**
         * This interface was referenced by `undefined`'s JSON-Schema definition
         * via the `patternProperty` "^[^\n\r]*$".
         */
        [k: string]: ParameterSerializeStyleOptionsForSearchParamsV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    };
}
/**
 * Options to be passed to the serialization routine.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeStyleOptionsForSearchParams".
 */
export interface ParameterSerializeStyleOptionsForSearchParamsV3_8_0 {
    style: 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
    explode?: boolean;
    allowEmptyValue?: boolean;
    /**
     * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
     */
    allowReserved?: boolean;
    skipEncoding?: boolean;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfigForHeaders".
 */
export interface ParameterConfigForHeadersV3_8_0 {
    ops: ParameterOpListV3_8_0;
    serialize?: ParameterSerializeConfigForHeadersV3_8_0;
}
/**
 * Top-level paths to use headers serialization options for.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeConfigForHeaders".
 */
export interface ParameterSerializeConfigForHeadersV3_8_0 {
    defaults?: ParameterSerializeStyleOptionsForHeadersV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    paths?: {
        /**
         * This interface was referenced by `undefined`'s JSON-Schema definition
         * via the `patternProperty` "^[^\n\r]*$".
         */
        [k: string]: ParameterSerializeStyleOptionsForHeadersV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    };
}
/**
 * Options to be passed to the serialization routine.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeStyleOptionsForHeaders".
 */
export interface ParameterSerializeStyleOptionsForHeadersV3_8_0 {
    style: 'simple' | 'none';
    explode?: boolean;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfigForJson".
 */
export interface ParameterConfigForJsonV3_8_0 {
    ops: ParameterOpListV3_8_0;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfigForPathParams".
 */
export interface ParameterConfigForPathParamsV3_8_0 {
    ops: ParameterOpListV3_8_0;
    serialize?: ParameterSerializeConfigForPathParamsV3_8_0;
}
/**
 * Top-level paths to use path params serialization options for.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeConfigForPathParams".
 */
export interface ParameterSerializeConfigForPathParamsV3_8_0 {
    defaults?: ParameterSerializeStyleOptionsForPathParamsV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    paths?: {
        /**
         * This interface was referenced by `undefined`'s JSON-Schema definition
         * via the `patternProperty` "^[^\n\r]*$".
         */
        [k: string]: ParameterSerializeStyleOptionsForPathParamsV3_8_0 | ParameterSerializeContentOptionsV3_8_0;
    };
}
/**
 * Options to be passed to the serialization routine.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeStyleOptionsForPathParams".
 */
export interface ParameterSerializeStyleOptionsForPathParamsV3_8_0 {
    style: 'simple' | 'label' | 'matrix' | 'none';
    explode?: boolean;
    allowEmptyValue?: boolean;
    /**
     * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
     */
    allowReserved?: boolean;
    skipEncoding?: boolean;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "composeResolver".
 */
export interface ComposeResolverV3_8_0 {
    compose: BasicResolverV3_8_0[];
    resultsMapping?: DirectiveMappingMapV3_8_0 | DirectiveConfigV3_8_0;
    results?: ParameterConfigForJsonV3_8_0;
}
/**
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "oneOfSchema".
 */
export interface OneOfSchemaV3_8_0 {
    oneOf: (RefSchemaV3_8_0 | RefSchemaLegacyV3_8_0 | ObjectSchemaV3_8_0)[];
}
/**
 * All possible options for the more specific ParameterSerializeStyleOptions types.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeStyleOptions".
 */
export interface ParameterSerializeStyleOptionsV3_8_0 {
    style: 'simple' | 'label' | 'matrix' | 'form' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject' | 'none';
    explode?: boolean;
    allowEmptyValue?: boolean;
    /**
     * The allowReserved keyword specifies whether the reserved characters :/?#[]@!$&'()*+,;= in parameter values are allowed to be sent as they are.
     */
    allowReserved?: boolean;
    skipEncoding?: boolean;
}
/**
 * All possible options for the more specific ParameterSerializeConfig types.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterSerializeConfig".
 */
export interface ParameterSerializeConfigV3_8_0 {
    content?: ParameterSerializeContentOptionsV3_8_0;
    defaults?: ParameterSerializeOptionsV3_8_0;
    paths?: {
        [k: string]: ParameterSerializeOptionsV3_8_0;
    };
}
/**
 * All possible options for the more specific ParameterConfig types.
 *
 * This interface was referenced by `ContentSchemaV3_8_0`'s JSON-Schema
 * via the `definition` "parameterConfig".
 */
export interface ParameterConfigV3_8_0 {
    ops: ParameterOpListV3_8_0;
    serialize?: ParameterSerializeConfigV3_8_0;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "shapeMap".
 */
export interface ShapeMapV3_8_0 {
    [k: string]: ShapeJSONV3_8_0;
}
/**
 * A Shape is a schema object for structuring and storing data from one or more sources, including the TakeShape data store and connected services
 *
 * This interface was referenced by `ShapeMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "^[0-9A-Za-z_]+$".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "shape".
 */
export interface ShapeJSONV3_8_0 {
    /**
     * The Pascal-cased human-readable id for a Shape. This value should match the shape's key in the shapes object. This value is used in @ref and @mapping annotations
     */
    name: string;
    /**
     * The machine-readable id for a Shape which should never change. When using TakeShape's built-in database to store Shape data, this value is used  database as a stable "table name" and changing it will result in orphaning that data.
     */
    id: string;
    /**
     * The human-readable name for a Shape for use in a UI.
     */
    title: string;
    description?: string;
    /**
     * Specifying a model type allows Shape data to be stored in TakeShape's built-in database
     */
    model?: {
        type: ModelTypeV3_8_0;
    };
    workflow?: string;
    schema: ContentObjectSchemaV3_8_0;
    [k: string]: any;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "indexedShapeMap".
 */
export interface IndexedShapeMapV3_8_0 {
    [k: string]: IndexedShapeConfigV3_8_0;
}
/**
 * This interface was referenced by `IndexedShapeMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "indexedShapeConfig".
 */
export interface IndexedShapeConfigV3_8_0 {
    [k: string]: any;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formMap".
 */
export interface FormMapV3_8_0 {
    [k: string]: FormsConfigV3_8_0;
}
/**
 * This interface was referenced by `FormMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formsConfig".
 */
export interface FormsConfigV3_8_0 {
    default: FormConfigV3_8_0;
    [k: string]: FormConfigV3_8_0;
}
/**
 * This interface was referenced by `FormsConfigV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `undefined`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formConfig".
 */
export interface FormConfigV3_8_0 {
    [k: string]: any;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "workflowMap".
 */
export interface WorkflowMapV3_8_0 {
    [k: string]: WorkflowV3_8_0;
}
/**
 * This interface was referenced by `WorkflowMapV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "workflow".
 */
export interface WorkflowV3_8_0 {
    /**
     * machine-readable id
     */
    name: string;
    title: WorkflowNameV3_8_0;
    steps: StepsV3_8_0;
    [k: string]: any;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "workflowStep".
 */
export interface WorkflowStepV3_8_0 {
    name: NameV3_8_0;
    title: TitleV3_8_0;
    description?: DescriptionV3_8_0;
    color: ColorV3_8_0;
    live: LiveV3_8_0;
    key: KeyV3_8_0;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "storedServiceMap".
 */
export interface ServiceMapJSONV3_8_0 {
    [k: string]: ServiceConfigJSONV3_8_0;
}
/**
 * This interface was referenced by `ServiceMapJSONV3_8_0`'s JSON-Schema definition
 * via the `patternProperty` "[0-9A-Za-z_-]+".
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "storedServiceConfig".
 */
export interface ServiceConfigJSONV3_8_0 {
    /**
     * Machine-readable identifier, should typically be the same as the property name on the services object.
     */
    id: string;
    /**
     * Human-readable name for this service.
     */
    title: string;
    /**
     * The service provider id.
     */
    provider: string;
    /**
     * A namespace to use for the imported types tied to this service.
     */
    namespace?: string;
    serviceType: ServiceTypeV3_8_0;
    authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
    authentication?: string;
    webhookId?: string;
    /**
     * Configuration options passed to and handled by the provider.
     */
    options?: {
        [k: string]: any;
    };
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formScalarConfig".
 */
export interface FormScalarConfigV3_8_0 {
    widget: string;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formObjectConfig".
 */
export interface FormObjectConfigV3_8_0 {
    widget?: string;
    order?: string[];
    properties?: {
        [k: string]: FormConfigV3_8_0;
    };
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "formArrayConfig".
 */
export interface FormArrayConfigV3_8_0 {
    widget: string;
    items: FormConfigV3_8_0;
}
/**
 * For use with a custom auth handler on a service provider.
 *
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "customAuthentication".
 */
export interface CustomAuthenticationV3_8_0 {
    [k: string]: any;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "bearerAuthentication".
 */
export interface BearerAuthenticationV3_8_0 {
    token?: string;
    prefix?: string;
    header?: string;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "oauth2BearerAuthentication".
 */
export interface OAuth2BearerAuthenticationV3_8_0 {
    token?: string;
    prefix?: string;
    header?: string;
    scope?: string;
    expiresAt?: string;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "basicAuthentication".
 */
export interface BasicAuthenticationV3_8_0 {
    username?: string;
    password?: string;
    useIso8859?: boolean;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "oauth2Authentication".
 */
export interface OAuth2AuthenticationV3_8_0 {
    grantType?: 'authorizationCode' | 'clientCredentials';
    authorizationUrl?: string;
    accessTokenUrl?: string;
    clientId?: string;
    clientSecret?: string;
    scope?: string;
    usePkce?: boolean;
    redirectUrl?: string;
    headerPrefix?: string;
    audience?: string;
    resource?: string;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "awsAuthentication".
 */
export interface AWSAuthenticationV3_8_0 {
    awsAccessKeyId?: string;
    awsSecretAccessKey?: string;
}
/**
 * This interface was referenced by `ProjectSchemaJSONV3_8_0`'s JSON-Schema
 * via the `definition` "serviceConfig".
 */
export interface ServiceConfigV3_8_0 {
    /**
     * Machine-readable identifier, should typically be the same as the property name on the services object.
     */
    id: string;
    /**
     * Human-readable name for this service.
     */
    title: string;
    /**
     * The service provider id.
     */
    provider: string;
    /**
     * A namespace to use for the imported types tied to this service.
     */
    namespace?: string;
    serviceType: ServiceTypeV3_8_0;
    authenticationType: 'oauth2' | 'basic' | 'bearer' | 'searchParams' | 'oauth2Bearer' | 'custom' | 'aws' | 'none' | 'unknown';
    authentication?: ServiceAuthenticationV3_8_0;
    webhookId?: string;
    /**
     * Configuration options passed to and handled by the provider.
     */
    options?: {
        [k: string]: any;
    };
}
