Movatterモバイル変換


[0]ホーム

URL:


RFC 9402Concat NotationApril 2023
Basaglia, et al.Informational[Page]
Stream:
Independent Submission
RFC:
9402
Category:
Informational
Published:
ISSN:
2070-1721
Authors:
M. Basaglia
J. Bernards
J. Maas

RFC 9402

Concat Notation

Abstract

This document defines the Concat notation: a text-based languageused to describe pictures and videos whose subject includes cats,containers, and their interactions.

Status of This Memo

This document is not an Internet Standards Track specification; it is published for informational purposes.

This is a contribution to the RFC Series, independently of any other RFC stream. The RFC Editor has chosen to publish this document at its discretion and makes no statement about its value for implementation or deployment. Documents approved for publication by the RFC Editor are not candidates for any level of Internet Standard; see Section 2 of RFC 7841.

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained athttps://www.rfc-editor.org/info/rfc9402.

Copyright Notice

Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document.

Table of Contents

1.Introduction

Cat pictures and videos are often shared across the Internet.Many of these files display feline subjects interactingwith boxes and other containers.

Since there is currently no compact notation for describing such media,this document details a standard notation to describe the positionand interaction of cats, containers, and related subjects picturedin these images.

The notation language described in this document is text-based andlimits itself to the US-ASCII character encoding[RFC0020], allowingthe transfer of cat-related materials in environments with restrictedcapabilities.

1.1.Conventions Used in This Document

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14[RFC2119][RFC8174] when, and only when, they appear in all capitals, as shown here.

2.Definition

2.1.Terminology

This document uses specific terms to refer to items beingdepicted by the notation described herein.

To avoid ambiguity, such terms are defined as follows:

Subject:

The term "subject" is used in this document to refer to the objectthat is the focus in the media to be annotated.This usually is an animate object, specifically a cat.An annotation can have multiple subjects interacting in various ways.

Cat:

A cat is a special kind of subject of feline origin. This document will assume a house cat is present in the source media; however, other felines are also acceptable.

Container:

The term "container" is used to refer to inanimate objects inside ofwhich one or more subjects can be located.Most commonly, this will be a cardboard box; however, a variety of containerscan be used.

2.2.Grammar

The grammar is defined using the ABNF notation[RFC5234].

SEQUENCE  =  POSITION / POSITION "=>" SEQUENCEPOSITION  =  ADJACENTADJACENT  =  OVER / ADJACENT "+" OVEROVER      =  MULTIPLE / MULTIPLE "/" POSITIONMULTIPLE  =  CONCAT / NUMBER [ "*" ] MULTIPLE / NUMBER "/" MULTIPLECONCAT    =  SUBJECT [ NUMBER ] / [ PARTIAL ] CONTAINER [ PARTIAL ]CONTAINER =  "[" OPT-POS "]" / "(" OPT-POS ")"CONTAINER =/ "{" OPT-POS "}" / "<" OPT-POS ">"OPT-POS   =  [ POSITION ]SUBJECT   =  CAT / 1*ALPHA / "@"CAT       =  "cat" / PARTIALPARTIAL   =  "c" / "a" / "t" / "ca" / "at"ALPHA     =   %x41-5A / %x61-7ANUMBER    =  1*DIGITDIGIT     =  "0" / "1" / "2" / "3" / "4"DIGIT     =/ "5" / "6" / "7" / "8" / "9"

3.Elements

3.1.Subjects

3.1.1.Cats

The standard notation for a cat is the wordcat.

3.1.2.Partial Cats

When referencing cats partly inside a container, the annotationMUSTcontain the full cat mark adequately split inside and outside thecontainer.

If a cat is only partly visible in the frame of the picture or video,the annotationMAY only reference the visible portion of the cat.

The partial cat notations are as follows:

c:
marks the head of the cat.
a:
marks the body of the cat.
t:
marks the tail of the cat.
ca:
marks the head and body of the cat.
at:
marks the body and tail of the cat.

The annotation for a partial catSHOULD use the terms mentioned abovethat best describe the portion of the cat that is being referenced.

3.1.3.Other Animals

Other animals or animate objectsSHOULD be represented with asuitable word describing the species of such animal.The cat-specific words described in this documentMUST NOT be used fornon-feline subjects.

3.1.4.Balls of Yarn

Balls of yarnSHOULD be represented with@.

3.2.Containers

When a cat or other subject is inside a container, the containernotationMUST be used. Such notation is denoted by its subject beingbetween brackets. The type of bracket depends on the shape of thecontainer as follows:

  • Square brackets represent boxes or other containers with arectangular opening.
  • Parentheses represent containers with a round opening or shape.
  • Curly bracesSHALL be used to represent soft containers without a fixed shape.

Additionally, angle bracketsMAY be used to group subjects outside a container. Such annotationsMUST NOT contain partial cats.

3.3.Positioning

The Concat notation only gives information about the general layout ofsubjects and containers, but it does make a distinction betweenhorizontal and vertical positions.

The order of positional operandsSHOULD follow the order in which theyappear from left to right in the source media.

3.3.1.Horizontal Position

The+ operator is used to represent subjects or containersnext to each other.

3.3.2.Vertical Position

When a subject is above or on top of another, the operator/MUST beused.

3.3.3.Multiple Repeated Objects

When multiple objects or configurations are repeated, the shorthandnotationMAY be used.

Horizontal positioning is denoted by a numberfollowed by an optional* and the annotation to be repeated.

Similarly, for vertical positioning, repeated objects are denoted bya number followed by/ and the annotation to be repeated.

When using such a shorthand, the number of repetitionsMUST be apositive integer.

3.4.Changes over Time

In the case of videos or other animations, a proper Concat notationSHOULD make use of the state change operator (=>) to mark significantchanges in the cat position and major interactions.

3.4.1.Disambiguation

Subject tokensMAY be followed by an integer identifierto distinguish specific cats, balls of yarn, or other subjects.An annotation containing such numeric disambiguationsMUST contain such disambiguations for all cats and balls of yarn.

Since a specific subject can only appear once in a static image,disambiguation identifiersSHOULD be used only on annotations showingstate changes.

4.Internationalization Considerations

The wordcat is in English and is provided to allow transfer ofConcat notations using only the US-ASCII character encoding[RFC0020].

Users of other languagesMAY extend the alphabet and use their localizedwords for cat and other animals.

Non-standard words for catsSHOULD NOT be used unless all partiesinvolved in the production and consumption of the Concat notationhave agreed upon a character encoding and a language prior to thetransmission of the annotation.

5.Security Considerations

A cat might find themselves in a container smaller than the perceivedvolume of the cat. While this might seem to be a dangerous situation,it's actually a natural occurrence when the cat is in its liquid form.

Cats might chew on the cardboard of the box containing them. Tomitigate this attack, we recommend having multiple boxes to put thecats into.

6.IANA Considerations

This document has no IANA actions.

7.Normative References

[RFC0020]
Cerf, V.,"ASCII format for network interchange",STD 80,RFC 20,DOI 10.17487/RFC0020,,<https://www.rfc-editor.org/info/rfc20>.
[RFC2119]
Bradner, S.,"Key words for use in RFCs to Indicate Requirement Levels",BCP 14,RFC 2119,DOI 10.17487/RFC2119,,<https://www.rfc-editor.org/info/rfc2119>.
[RFC5234]
Crocker, D., Ed. andP. Overell,"Augmented BNF for Syntax Specifications: ABNF",STD 68,RFC 5234,DOI 10.17487/RFC5234,,<https://www.rfc-editor.org/info/rfc5234>.
[RFC8174]
Leiba, B.,"Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words",BCP 14,RFC 8174,DOI 10.17487/RFC8174,,<https://www.rfc-editor.org/info/rfc8174>.

Appendix A.Examples

This appendix provides some examples of the Concat notation.

[cat]
Figure 1:A Cat in a Box
[cat] + cat
Figure 2:A Cat in a Box Next to a Cat Not in a Box
cat / [cat]
Figure 3:A Cat over a Box Containing Another Cat
[c]at
Figure 4:A Cat with Its Head inside a Box
3 * cat
Figure 5:3 Cats Side by Side
3 / cat
Figure 6:3 Cats on Top of Each Other
cat + cat / [cat]
Figure 7:A Cat Standing Next to a Box That Has a Cat on Top and inside of It
<cat + cat> / [cat]
Figure 8:Two Cats Standing on a Box with Another Cat inside of It
cat1 + [cat2] => cat2 + [cat1]
Figure 9:A Cat inside a Box and a Cat outside Swap Places

Authors' Addresses

Mattia Basaglia
Email:glax@dragon.best
URI:https://dragon.best/
Joep Bernards
Email:joep@duali.xyz
Joost Maas
Email:J.f.w.maas@tue.nl

[8]ページ先頭

©2009-2025 Movatter.jp