ENUM

MediaConstraintClass

A class of media constraint, used to say which ones are enforced server-side.

New members may be added as enforcement expands. Clients MUST tolerate an unrecognised value and treat it as NOT gateable — a client contract with no schema-level enforcement, since GraphQL has no tolerant-enum mechanism. If a fourth class lands and client tolerance proves impractical, the fallback is a parallel enforcedConstraintKeys: [String!]!.

link GraphQL Schema definition

1enum MediaConstraintClass {
2
3# Media duration, validated against Asset.fileData.mediaDurationMs in
4# milliseconds.
5DURATION
6
7# Pixel width and height.
8DIMENSIONS
9
10# Aspect ratio (width/height).
11ASPECT_RATIO
12}